https://blog.csdn.net/li_Dijkstra/article/details/79354385
https://blog.csdn.net/li_Dijkstra/article/details/79354385
skip-grant-tables
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(‘你的密码‘);
配置root远程登陆:
use mysql; UPDATE user SET Host=‘%‘ WHERE User=‘root‘; flush privileges;
使用sqlyog等工具链接,需要开启原来的身份验证机制
ALTER USER ‘root‘@‘%‘ IDENTIFIED WITH mysql_native_password BY ‘root账户密码‘;
原文:https://www.cnblogs.com/nxzblogs/p/10833159.html