无法通过我的HA代理服务器连接到MySQL数据库

我有我的HAProxy上运行的VIP:192.168.61.32 ,我也检查了netstat -tulnp|grep 3306

  tcp 0 0 192.168.61.32:3306 0.0.0.0:* LISTEN 7895/haproxy 

但是当我跑步

 mysql -h 192.168.61.32 -u root -p: ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 

HA-Proxy节点在192.168.61.30 & 192.168.61.31 &我试图连接到数据库

 root@haproxy1:~# mysql -h 192.168.61.30 -u root -p Enter password: ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.61.30' (111) root@haproxy1:~# mysql -h 192.168.61.31 -u root -p Enter password: ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.61.31' (111) 

我的后端Mysql节点是在192.168.61.33 & 192.168.61.34,我可以连接到他们直接使用

 mysql -h 192.168.61.33 -u root -p mysql -h 192.168.61.34 -u root -p 

haproxy.conf的configuration细节

 global log /dev/log local0 # log /dev/log local1 notice chroot /var/lib/haproxy user haproxy group haproxy daemon log 192.168.61.31 local0 stats socket /var/lib/haproxy/stats maxconn 4000 defaults log global # mode http # option httplog option dontlognull contimeout 5000 clitimeout 50000 srvtimeout 50000 errorfile 400 /etc/haproxy/errors/400.http errorfile 403 /etc/haproxy/errors/403.http errorfile 408 /etc/haproxy/errors/408.http errorfile 500 /etc/haproxy/errors/500.http errorfile 502 /etc/haproxy/errors/502.http errorfile 503 /etc/haproxy/errors/503.http errorfile 504 /etc/haproxy/errors/504.http listen stats 192.168.61.31:80 mode http option httplog stats enable stats uri /stats stats realm HAProxy\ Statistics stats auth admin:admin listen galera 192.168.61.32:3306 balance source mode tcp option tcpka option mysql-check user haproxy server mysql1 192.168.61.33:3306 check weight 1 server mysql2 192.168.61.34:3306 check weight 1 

这就是我在第二HA代理服务器中的haproxy.conf的configuration,第一个HA代理服务器configuration是相同的,除了在全局&统计部分中的IP地址是192.168.61.30 [第一HA代理服务器]

我做的错误是使用我的HA代理服务器的错误IP地址,同时授予mysqldb权限,一旦我给了正确的IP地址,它没有任何问题的工作。