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

Fix issue #5534. mysql password quoting #5536

Open
wants to merge 2 commits into
base: 12.x
Choose a base branch
from

Conversation

wdouglascampbell
Copy link

Although it was suggested enclosing the password in backticks would resolve this. Further testing indicated that it didn't work when the password contains a backtick. Also, the quoting mentioned in my previous attempt at a PR regarding the database name doesn't really have anything to do with this in my opinion. I could put a check in to see if that was set but again in my opinion there is never a reason to not perform what the fix is doing since it is always a possibility that a user will use a backtick in their password.

Although it was suggested enclosing the password in backticks would resolve this.  Further testing indicated that it didn't work when the password contains a backtick.  Also, the quoting mentioned in my previous attempt at a PR regarding the database name doesn't really have anything to do with this in my opinion.  I could put a check in to see if that was set but again in my opinion there is never a reason to not perform what the fix is doing since it is always a possiblity that a user will use a backtick in their password.
@weitzman weitzman changed the title Fix issue #5534 Fix issue #5534. mysql password quoting Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants