mysql 远程连接
1 use mysql;
2 select host, user, authentication_string, plugin from user;
3 update user set host='%' where user='root';
三个语句顺序执行 完毕后重新启动mysql服务 就ok了
1 use mysql;
2 select host, user, authentication_string, plugin from user;
3 update user set host='%' where user='root';
三个语句顺序执行 完毕后重新启动mysql服务 就ok了