1 关闭windows防火墙,或者 添加入站规则允许mysql的端口(默认3306)
2 授权mysql允许其他电脑访问
mysql -uroot -p use mysql; select host,user from user; update user set host ='%' where user ='root'; flush privileges;
https://blog.csdn.net/liu53782/article/details/127746935
标签:电脑,访问,host,user,mysql,允许 From: https://www.cnblogs.com/rxbook/p/17498013.html