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

DB Connections #35

Closed
converseKarl opened this issue Jun 2, 2020 · 0 comments
Closed

DB Connections #35

converseKarl opened this issue Jun 2, 2020 · 0 comments

Comments

@converseKarl
Copy link

I've been testing this library so far, and i have to say what a fantastic rock solid library it is. So well done! I'm incredibility grateful and happy to send you some coffee money (sort of patreon) or to help cover some costs of a few beers.

My issue is wanting to swtich DB connections on the host under certain conditions (i.e. custom's db instance etc), I know on the native MySql you can use changeUser, reading the docs on connection pool manage says to user mySQL.config and presumable just change the Database property on the options object and throw it in there before the query is executing.

Am I reading the docs right, any hints/guidance would be great. Very grateful and hats off to you.

Kind regards

 Karl
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