您的位置:首页 > 数据库 > SQL

The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

2017-07-02 17:23 1741 查看
今天在学习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;

使用该命令刷新一下就可以了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  mysql
相关文章推荐