Skip to content

Do not automatically query max_allowed_packet #499

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

Closed
julienschmidt opened this issue Oct 25, 2016 · 0 comments
Closed

Do not automatically query max_allowed_packet #499

julienschmidt opened this issue Oct 25, 2016 · 0 comments
Assignees
Milestone

Comments

@julienschmidt
Copy link
Member

As a followup to #489, we should consider to use a sensible default value instead of querying max_allowed_packet on every connect, which adds extra roundtrips and thus overhead.
It might also cause problems with proxies etc. (see #489).

See also https://dev.mysql.com/doc/refman/5.5/en/packet-too-large.html

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

1 participant