MySQL ERROR 1290 (HY000): 处理 The MySQL server is running with the –skip-grant-tables option

第1.找不到初始密码可以在my.ini中[mysqld] 添加: skip-grant-tables 第2.修改MySQL数据库配置文件无密码登录后,修改密码报错: ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
第3.先执行: flush privileges; 4.再执行修改密码命令,可以了: set password for root@localhost=password(‘你的密码’);

MySQL ERROR 1290 (HY000): 处理 The MySQL server is running with the –skip-grant-tables option最先出现在Python成神之路

版权声明:
作者:主机优惠
链接:https://www.techfm.club/p/20637.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>