MySQL 开启远程连接权限

MySQL 开启远程连接权限

mysql> use mysql;
mysql> update user set host = '%' where user='root';
mysql> select host,user from user;
mysql> flush privileges;

设置防火墙放行3306端口

猜你喜欢

转载自blog.csdn.net/hl449006540/article/details/79722060