-
Notifications
You must be signed in to change notification settings - Fork 23.9k
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_db import fails with special characters in password #63955
mysql_db import fails with special characters in password #63955
Comments
Files identified in the description: If these files are inaccurate, please update the |
The issue is on line 225 of the module
Removing the shlex_quote from the password and saving the new file to my library folder allows the password to work correctly with no errors from mysql shell command |
I will also take a look at the code. Removing |
this unfortunately can't be removed because of security reasons https://docs.python.org/3/library/shlex.html#shlex.quote. |
I'll add an option for that |
ansible-collections/community.general#428 |
can be closed via ansible-collections/community.general#428 |
resolved_by_pr #ansible-collections/community.general#428 Marking it as resolved. Thanks @Andersson007 |
@Akasurde thanks for marking and closing! |
SUMMARY
mysql_db import fails when using special characters in the password parameter.
ISSUE TYPE
COMPONENT NAME
mysql_db
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
RHEL 7.6
STEPS TO REPRODUCE
You can reproduce the problem by attempting to use a ! in the password field of the login_password
EXPECTED RESULTS
Database to import with no errors
ACTUAL RESULTS
Failure to import with permission denied error
The text was updated successfully, but these errors were encountered: