它有什么问题?
grant all privileges on apip.* to 'root'@'%' IDENTIFIED BY PASSWORD 'rootadmin';
它会给出以下错误
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 PASSWORD 'rootadmin'' at line 1
发布于 2018-06-06 07:17:38
IDENTIFIED BY
是CREATE USER
命令而不是GRANT
命令接受的关键字。
https://stackoverflow.com/questions/50710166
复制相似问题