每当我尝试连接到我的MySQL数据库远程我收到
Lost connection to MySQL server at 'reading initial communication packet', system error: 111
作为回应,
目前我的绑定地址是:
#bind-address = 173.230.131.33
评论是因为:
bind-address = 173.230.131.33
不会允许mysql启动。
我也试过了
bind-address = 0.0.0.0
没有成功
我的iptables显示为
Chain INPUT (policy ACCEPT 639 packets, 48107 bytes) pkts bytes target prot opt in out source destination 1380K 163M fail2ban-ssh tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 22 0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:3306 Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 475 packets, 73738 bytes) pkts bytes target prot opt in out source destination Chain fail2ban-ssh (1 references) pkts bytes target prot opt in out source destination 1380K 163M RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
我不相信我有一个问题主机(目前与林德主办),Ubuntu的13.04框。 Mysql和所有其他服务都使用ISPConfig安装
我有一个mysql主机的用户设置,所以它不是一个用户限制
不幸的是,SSH隧道是不可能的。 任何帮助表示赞赏
还显示:netstat -ntlp | grep 3306
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 11406/mysqld
~ nmap -p 3306 173.230.131.33 Starting Nmap 6.40 ( http://nmap.org ) at 2014-02-04 20:15 CST Nmap scan report for ftd.fasttrackdispatch.com (173.230.131.33) Host is up (0.044s latency). PORT STATE SERVICE 3306/tcp closed mysql Nmap done: 1 IP address (1 host up) scanned in 0.13 seconds
看起来你的MySQL端口已closures。