mysql 远程连接

1 use mysql;
2 select host, user, authentication_string, plugin from user;
3 update user set host='%' where user='root';

三个语句顺序执行 完毕后重新启动mysql服务 就ok了

posted @ 2023-02-17 23:02  Bashuslovakia  阅读(13)  评论(0编辑  收藏  举报