ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

先执行:

flush privileges;

再执行修改密码命令,可以了:

set password for root@localhost=password('你的密码');
posted @ 2021-03-25 18:50  l_lOct  阅读(73)  评论(0编辑  收藏  举报