MENU

#Linux运维教程#ERROR 1064 (42000): You have an error in your SQL syntax; 命令失效

January 13, 2019 • Linux

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 'the manual that corresponds to your MySQL server version for the right syntax to' at line 1

这里我们使用如下命令添加远程访问。
use mysql;
grant all privileges on . to 'root'@'%' identified by '密码';

flush privileges;
刷新