Unable to connect to any of the specified MySQL hosts.
解决办法如下:
1、关闭防火墙
2、把/etc/mysql/mysql.conf.d/mysqld.cnf 文件里面的 bind-address = 127.0.0.1 注释掉
具体步骤:
3、重启mysql服务
Unable to connect to any of the specified MySQL hosts.
解决办法如下:
1、关闭防火墙
2、把/etc/mysql/mysql.conf.d/mysqld.cnf 文件里面的 bind-address = 127.0.0.1 注释掉
具体步骤:
3、重启mysql服务