小刘的BUG(MySql修改密码时出现ERROR 1290 (HY000):The MySQL server is running with the--skip-grant-tablesoption)

问题描述:

MySql修改密码时出现:ERROR 1290 (HY000): The MySQL server is running with the–skip-grant-tables option

解决方法:

第一步:

flush privileges;

第二步:

set password for root@localhost=password(‘你要设置的密码’);

ok

猜你喜欢

转载自blog.csdn.net/weixin_55604133/article/details/119913876