一、设置mysql允许远程连接
1、使用mysql
use mysql;
2、查询
select host, user, authentication_string, plugin from user;
3、设置
update user set host='%' where user='root';
4、刷新权限
flush privileges;
版权声明:本文为weixin_44195615原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
一、设置mysql允许远程连接
1、使用mysql
use mysql;
2、查询
select host, user, authentication_string, plugin from user;
3、设置
update user set host='%' where user='root';
4、刷新权限
flush privileges;