Si al ejecutar el comando:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON 00.*
TO 'user'@'localhost' IDENTIFIED BY 'password';
TO 'user'@'localhost' IDENTIFIED BY 'password';
obtienes:
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 '00.* TO 'usuario'@'localhost' IDENTIFIED BY 'password'' at line 1
Es porque se necesita usar comillas invertidas en el nombre de la base de datos:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `00`.*
TO 'user'@'localhost' IDENTIFIED BY 'password';
TO 'user'@'localhost' IDENTIFIED BY 'password';