Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL connection aborted from client side #51

Closed
allenlee820202 opened this issue Nov 30, 2022 · 1 comment
Closed

MySQL connection aborted from client side #51

allenlee820202 opened this issue Nov 30, 2022 · 1 comment

Comments

@allenlee820202
Copy link

allenlee820202 commented Nov 30, 2022

Hello team,

Thanks for your effort for maintaining the project! We are using this project to interact with MySQL. Recently, I found a problem that MySQL connections are aborted for each sql query sent by r2dbc-mariadb driver.

mariadb-connector-r2dbc version: 1.1.2 (1.0.2 didn't have such problem)
MySQL version: 8.0.27
Spring data version: 2.7.3

FYI, I observed MySQL aborted connection count by:
SELECT * FROM sys.metrics WHERE Variable_name='aborted_clients';

@allenlee820202
Copy link
Author

allenlee820202 commented Nov 30, 2022

The issue was resolved after upgrading Spring boot and Spring data to v2.7.6, which upgraded mariaDB to 3.0.9. Maybe it's spring data's issue 🤔
spring-projects/spring-boot#33176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants