oneproxy出现2103错误代码解决方案
中间件oneproxy 错误收集 通过中间件连接数据库,可以进入,但表显示不出 [root@s106 tmp]# mysql -u test -h 10.0.x.x-P3307 -ptest Use test3306(106)>show tables;ERROR 2103 (HY000): Lost connection to MySQL server during query or no managed connection avaiable! 排查:通过oneproxy管理端 mysql -uadmin -pOneProxy -h127.0.0.1 -P4041/4040 list backend; 显示mysql处于down关闭,状态,到数据库的机器,service mysqld restart重启数据库 再list backend mysql显示up,重新连接库表可以正常访问。 二.可能防火墙原因造成 没放通内网或者外网ip跟端口,注意如果是内网访问的话,那中间件连接后端的数据库也要写成内网ip 本文转自去轻狂书生51CTO博客,原文链接: http://blog.5...