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 extra dsn connection settings #278

Closed
badoet opened this issue Sep 26, 2014 · 1 comment
Closed

mysql extra dsn connection settings #278

badoet opened this issue Sep 26, 2014 · 1 comment

Comments

@badoet
Copy link
Contributor

badoet commented Sep 26, 2014

is there a way to add the compressed option
and the persistent connection for the MYSQL connection?

@arnehormann
Copy link
Member

We do not support compression (yet?). See #24.
If I recall correctly, it was slower than not using it in our tests.

Go uses a connection pool - sql.Open returns a pool and not a single connection. So you always have persistent connections and there's no way not to have them.

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