mysql 赋给用户远程权限出错
来源:2-4 虚拟环境的安装和配置

linxixizhi
2018-07-06
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'lxh' WITH GRANT OPTION; 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 'IDENTIFIED BY 'lxh' WITH GRANT OPTION' at line 1
写回答
1回答
-
bobby
2018-07-09
grant all privileges on *.* to 'root'@'%' identified by 'lxh' with grant option;
022019-02-25
相似问题