怎么了
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
1条答案
按热度按时间pu82cl6c1#
IDENTIFIED BY
用户是否接受关键字CREATE USER
命令,而不是GRANT
命令。