1. 测试是否允许远程连接 $ telnet 192.168.1.8 3306host 192.168.1.4 is not allowed to connect to this mysql server2. 允许特定客户端 ip 地址连接 $ mysql -u root -pEnter password:mysql> use mysqlmysql> GRANT ALL ON *.* to root@'192.168.1.4' IDENTIFIED BY 'your-r ......
本文摘自 :https://www.cnblogs.com/


