Skip to content

Conversation

haoqixu
Copy link

@haoqixu haoqixu commented Mar 27, 2024

We can not reuse a MYSQL handle without re-initialization after mysql_close(). We should close and reinitialize the handle before reconnection.

Fix #527

@charlesfg
Copy link

@haoqixu, is this problem related to reconnecting after any failure between the sysbench client and MySQL?

@haoqixu
Copy link
Author

haoqixu commented Jul 17, 2024

@charlesfg yes. sysbench fails to reconnect to the mysql/mariadb after failure. more details can be found in #527

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

Successfully merging this pull request may close these issues.

Fail to reconnect to mysql/mariadb when running with mariadb-libs
2 participants