ERROR 2003 (HY000): Can't connect to MySQL server on '172.18.16.229' (111)
修改mysql配置文件
vi /etc/mysql/mysql.conf.d/mysqld.cnf
#bind_address=127.0.0.1
service mysql restart
That's OK!
ERROR 2003 (HY000): Can't connect to MySQL server on '172.18.16.229' (111)
修改mysql配置文件
vi /etc/mysql/mysql.conf.d/mysqld.cnf
#bind_address=127.0.0.1
service mysql restart
That's OK!