今天在学习mysql权限管理的时候,通过使用grant all privileges to . on ‘name’@’%’ identified by ‘password’ 创建新的Mysql账号, 提示了错误:
ERROR 1290 The MySQL server is running with the –skip-grant-tables option so it cannot execute this statement
但是后边发现这个错误的解决办法很简单, 使用如下命令即可:
flush privileges;
使用该命令刷新一下就可以了