Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/12/2013, 15:42
joserodriguezan
 
Fecha de Ingreso: noviembre-2013
Ubicación: Barcelona
Mensajes: 33
Antigüedad: 10 años, 6 meses
Puntos: 0
Respuesta: CREATE command denied for user al dar permisos.

Hola gnzsoloyo,

Se entiende perfectamente. Muchisimas gracias como siempre. Por desgracia no me ha dejado hacerlo de la manera que me has comentado por lo que lo he hecho así.

Código SQL:
Ver original
  1. CREATE USER 'javier.sanchez' IDENTIFIED BY 'javier' WITH GRANT OPTION;
  2. ERROR 1064 (42000): You have an error IN your SQL syntax; CHECK the manual that corresponds TO your MySQL server version FOR the RIGHT syntax TO USE near 'GRANT OPTION' at line 1
  3. mysql> CREATE USER 'javier.sanchez' IDENTIFIED BY 'javier';
  4. Query OK, 0 ROWS affected (0.02 sec)
  5.  
  6. mysql> GRANT ALL PRIVILEGES ON *.* TO 'javier.sanchez' WITH GRANT OPTION;
[/code]

Última edición por gnzsoloyo; 09/12/2013 a las 16:35