阅读背景:

MySQL错误,设置第一个db(phpmyadmin,linux server)

来源:互联网 
create user 'kai'@'%' identified by password 'mypass'
grant all privileges on *.* to 'kai'@'%' 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 'grant all privileges on *.* to 'kai'@'%' with grant option' at line 1
create user 'kai'@'%' identified by password 'm



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: