Proxysql have some issue to connect perocona cluster?

root@prod-db-01:/home/lokesh.singhal@ibtechciti.com# mysql -u sbuser -p -h 127.0 .0.1 -P 6033

Enter password:

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 3

Server version: proxysql (ProxySQL)

Copyright (c) 2009-2020 Percona LLC and/or its affiliates

Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

mysql> show databases;

ERROR 2013 (HY000): Lost connection to MySQL server during query

mysql>

mysql> show databases;

ERROR 2006 (HY000): MySQL server has gone away

No connection. Trying to reconnect…

Connection id: 4

Current database: *** NONE ***

ERROR 9001 (HY000): Max connect timeout reached while reaching hostgroup 0 after 10012ms

2 Likes

@lokesh123 Have you logged into the proxysql admin and verified that all servers are ONLINE? Have you checked proxysql error logs?

2 Likes