Deve ser para, não para.
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password';
Eu segui 78246
Quando eu faço
mysql> GRANT ALL PRIVILEGES ON *.* for 'root'@'%' IDENTIFIED BY 'password';
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 'for 'root'@'%' IDENTIFIED BY 'password'' at line 1
Como faço para que funcione?
Tags mysql remote-access