-
Notifications
You must be signed in to change notification settings - Fork 329
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
Implement connection pooling #2
Comments
An example of a potential bug to avoid in connection pooling: https://bugs.mysql.com/bug.php?id=77421 |
For simplicity, it's going to be easier to create one connection pool per connection string. The typical application is unlikely to use dozens of different connection strings, so it seems doubtful that the extra work of pooling all connections to the same server and port would provide a benefit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add connection pooling support.
It seems like we should be able to reuse any connection (to the same server and port) as long as we send a
COM_CHANGE_USER
packet.The text was updated successfully, but these errors were encountered: