【发布时间】:2016-11-28 16:44:13
【问题描述】:
我正在尝试通过负载平衡器连接到远程 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
【问题讨论】:
标签: mysql configuration percona