解决mysql 远程链接 1修改 、 /etc/mysql/my.cnf 将 #bind-address = 127.0.0.1 注释 就行; 2.sudo service mysql restart 3. mysql -h 192.168.1. -p