1.
执行actualización mysql.proc conjunto DEFINER = 'root @%' DONDE NOMBRE = 'p_update_rim_batch_log' Y db = 'otherdataonline' ;
NOMBRE: nombre de la función, no llene todos
DB: base de datos pertenece
DEFINER: el usuario
2.
mysql> CREATE USER 'dxroot' @ '%' IDENTIFICADAS POR raíz'
';Query OK, 0 filas afectadas
mysql> GRANT todos los privilegios EN dxjr * A 'dxroot' @ '%'.;
Query OK, 0 filas afectadas
mysql> privilegios ras;
Query OK, 0 filas afectadas
mysql> mostrar subvenciones para dxroot;
+ ------------------------------------------------- -------------------------------------------------- ---- +
| Ayudas para dxroot @% |
+ ------------------------------------------------- -------------------------------------------------- ---- +
| GRANT Uso en * * A 'dxroot' @ '%' IDENTIFICADAS POR CONTRASEÑA '* 81F5E21E35407D884A6CD4A731AEBFB6AF209E1B'. |
| Conceder a todos los privilegios en `dxjr` * A 'dxroot' @ '%'. |
+ ------------------------------------------------- -------------------------------------------------- ---- +
2 filas en conjunto
mysql>