该报错同样适用于MariaDB
一、报错信息
ERROR 1290 (HY000): The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement
二、报错场景
修改mysql密码出现的报错。文章来源:https://www.toymoban.com/news/detail-754684.html
三、解决方式
先使用flush privileges;
刷新命令,再修改数据库密码set password for root@localhost=password('你的密码');
文章来源地址https://www.toymoban.com/news/detail-754684.html
到了这里,关于【数据库】mysql-修改密码-error-1290 (HY000): The MySQL server is running with the --skip-grant-tables option的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!