sql >> Base de Datos >  >> RDS >> Mysql

mysql ERROR 1064 (42000):Tiene un error en su sintaxis SQL;

No usas IDENTIFIED BY en GRANT consultas, se usa en CREATE USER .

CREATE USER 'root'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CONCESIÓN referencia de comando

CREAR USUARIO referencia de comando