2016-11-09 108 views
0

我的服务器是在谷歌云平台MySQL的远程访问错误2003

enter image description here

上 “后端”

和服务器,firewall-cmd --list-all结果是。

enter image description here

/etc/mysql/my.cnf和文件,

enter image description here

端口= 3306,并且全部地址(0.0.0.0)可以访问它。

在服务器sudo service mysql restart后,

如果我试图在我的电脑./mysql -h104.199.189.198 -uroot -p{password}

MySQL的回报

ERROR 2003 (HY000): Can't connect to MySQL server on '104.199.189.198' (60)

我该如何避免这个错误?

回答