我正在尝试通过负载均衡器连接到远程Percona群集。群集 。
Percona集群版本为5.6.30-76.3-56,而mysql客户端版本为Percona-XtraDB-Cluster-client-56-5.6.30-25.16.1
我见过很多关于“系统错误:0”和“系统错误:54”的问题,但没有关于“系统错误:104”的问题。
以下是远程客户端上的内容。 telnet到端口3306工作的事实意味着我不认为这是一个网络/防火墙问题。客户端主机上没有mysql日志文件,任何集群成员中的/var/log/mysqld.log中都没有任何内容。
底线:什么是系统错误104?
由于
$ mysql -u root --password=xxxxx -h 10.0.85.17
Warning: Using a password on the command line interface can be insecure.
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 104
$ telnet 10.0.85.17 3306
Trying 10.0.85.17...
Connected to 10.0.85.17.
Escape character is '^]'.
telnet> quit
$ cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
symbolic-links=0
bind-address=0.0.0.0
connect_timeout=10
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
答案 0 :(得分:1)
这是路由错误。 (没有路由从数据库服务器通过负载平衡器返回到我运行mysql客户端的主机。)