美文网首页
Mysql报错:ERROR 1290 (HY000)

Mysql报错:ERROR 1290 (HY000)

作者: 小渣渣努力中 | 来源:发表于2020-11-13 16:03 被阅读0次

执行:

CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';

报错:
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
解决方法:刷新数据库的权限表

> flush privileges;

再次执行:

> CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';

提示成功


image.png

相关文章

网友评论

      本文标题:Mysql报错:ERROR 1290 (HY000)

      本文链接:https://www.haomeiwen.com/subject/vazvbktx.html