gpt4 book ai didi

mysql - 错误 2013 MySQL 服务器 "system error: 104"

转载 作者:行者123 更新时间:2023-11-29 11:09:31 24 4
gpt4 key购买 nike

我正在尝试通过负载均衡器连接到远程 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 客户端的主机的路由。)

关于mysql - 错误 2013 MySQL 服务器 "system error: 104",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40849391/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com