grant all privileges 给mysql授权时出现ERROR 1290

在用grant all privileges on *.* to [email protected] identified by "123" 给mysql数据库,作远程访问授权时,出现错误:
ERROR 1290 (HY000):The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement.
其解决办法如下:
呵呵:flush privileges; 即可。
再用grant all 命令。

你可能感兴趣的:(mysql)