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

Implentmentation of change user command #272

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

NunuM
Copy link

@NunuM NunuM commented Apr 18, 2021

Hi all,

I have added the possibility of changing the user for a given connection. I have this use case(permissions and user roles related things) and half of my API was in Rust, plus I don't wanna create a new Pool for each query, and since the Mysql allows reusing the socket connection I've done it.

I know that is a weird use case, probably, nobody else will use it, if it is useless for the main repo I will understand.

Thank you all
Nuno

@blackbeam
Copy link
Owner

Hi. Sorry for significant delay.

I believe this should mostly go into the mysql_common crate.

@NunuM
Copy link
Author

NunuM commented Jul 6, 2021

Hi @blackbeam,

It's ok and thank you for the answer. I can implement this at mysql_common crate if you see that is the best thing to do.

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

Successfully merging this pull request may close these issues.

2 participants