ProxySQL can’t connect to XtraDB

I can connect directly from the server where proxysql is deployed to xtraDB, but cannot connect to xtraDB via proxysql.

my proxysql conf

I can connect directly from the server where proxysql is deployed to xtraDB:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>
ubuntu@proxysql:~$ mysql -u cerebra -pnew_password -h 51.12.210.119 -P 3306
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 828
Server version: 8.0.36-28.1 Percona XtraDB Cluster (GPL), Release rel28, Revision bfb687f, WSREP version 26.1.4.3
Copyright (c) 2000, 2024, Oracle and/or its affiliates.
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
;
±-------------------+
| Database |
±-------------------+
| cerebra |
| information_schema |
| mysql |
| performance_schema |
| sys |
±-------------------+
5 rows in set (0.00 sec)
</code>
<code> ubuntu@proxysql:~$ mysql -u cerebra -pnew_password -h 51.12.210.119 -P 3306 mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 828 Server version: 8.0.36-28.1 Percona XtraDB Cluster (GPL), Release rel28, Revision bfb687f, WSREP version 26.1.4.3 Copyright (c) 2000, 2024, Oracle and/or its affiliates. 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 → ; ±-------------------+ | Database | ±-------------------+ | cerebra | | information_schema | | mysql | | performance_schema | | sys | ±-------------------+ 5 rows in set (0.00 sec) </code>

ubuntu@proxysql:~$ mysql -u cerebra -pnew_password -h 51.12.210.119 -P 3306
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 828
Server version: 8.0.36-28.1 Percona XtraDB Cluster (GPL), Release rel28, Revision bfb687f, WSREP version 26.1.4.3

Copyright (c) 2000, 2024, Oracle and/or its affiliates.

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
→ ;
±-------------------+
| Database |
±-------------------+
| cerebra |
| information_schema |
| mysql |
| performance_schema |
| sys |
±-------------------+
5 rows in set (0.00 sec)

But via proxysql:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>
ubuntu@proxysql:~$ mysql -u cerebra -pnew_password -h 127.0.0.1 -P 6033
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.36-28.1 Percona XtraDB Cluster (GPL), Release rel28, Revision bfb687f, WSREP version 26.1.4.3 (ProxySQL)
Copyright (c) 2000, 2024, Oracle and/or its affiliates.
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 1045 (28000): Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES)
mysql>
</code>
<code> ubuntu@proxysql:~$ mysql -u cerebra -pnew_password -h 127.0.0.1 -P 6033 mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 9 Server version: 8.0.36-28.1 Percona XtraDB Cluster (GPL), Release rel28, Revision bfb687f, WSREP version 26.1.4.3 (ProxySQL) Copyright (c) 2000, 2024, Oracle and/or its affiliates. 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 1045 (28000): Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES) mysql> </code>

ubuntu@proxysql:~$ mysql -u cerebra -pnew_password -h 127.0.0.1 -P 6033
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.36-28.1 Percona XtraDB Cluster (GPL), Release rel28, Revision bfb687f, WSREP version 26.1.4.3 (ProxySQL)

Copyright (c) 2000, 2024, Oracle and/or its affiliates.

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 1045 (28000): Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES)
mysql>

log file:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>
ubuntu@proxysql:~$ sudo tail -f /var/lib/proxysql/proxysql.log
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.210.119:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.210.119:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78(using password: YES).
</code>
<code> ubuntu@proxysql:~$ sudo tail -f /var/lib/proxysql/proxysql.log 2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES). 2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES). 2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES). 2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.210.119:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES). 2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES). 2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES). 2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES). 2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES). 2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.210.119:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES). 2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES). </code>

ubuntu@proxysql:~$ sudo tail -f /var/lib/proxysql/proxysql.log
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.210.119:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 20.240.210.183:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.210.119:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES).
2024-09-11 08:05:39 mysql_connection.cpp:999:handler(): [ERROR] Failed to mysql_real_connect() on 51.12.211.18:3306 , FD (Conn:43 , MyDS:43) , 1045: Access denied for user ‘cerebra’@‘135.225.106.78’ (using password: YES).
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code></code>
<code></code>

i want to connect to xtradbs via proxysql

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật