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

Can't create second pool #92

Closed
e-oz opened this issue Feb 24, 2017 · 4 comments
Closed

Can't create second pool #92

e-oz opened this issue Feb 24, 2017 · 4 comments

Comments

@e-oz
Copy link

e-oz commented Feb 24, 2017

I'm trying to create second pool (Pool::new), connected to another DB, but when I'm trying to execute query - getting error about non-existing table, and in description of error MySQL gives name of DB - and it's still first DB, not another one.

mysql 9.0.1

@blackbeam
Copy link
Owner

Damn. I think I know why.
Will fix ASAP.

@blackbeam
Copy link
Owner

Please use this by now:

let mut pool = Pool::new(...);
// Turn off TLS slot right after pool creation
pool.use_tls(false);

I'll publish fix soon.

blackbeam added a commit that referenced this issue Feb 26, 2017
@blackbeam
Copy link
Owner

Problem solved in v10.0.0.
If update is problematic please use solution proposed in previous comment.

Thanks!

@e-oz
Copy link
Author

e-oz commented Feb 26, 2017

@blackbeam works fine, thank you very much!

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