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

If password contains single quote, you can't use this script #550

Closed
svaningelgem opened this issue Mar 16, 2021 · 2 comments
Closed

If password contains single quote, you can't use this script #550

svaningelgem opened this issue Mar 16, 2021 · 2 comments

Comments

@svaningelgem
Copy link

svaningelgem commented Mar 16, 2021

You'll just get:

sh: 1: Syntax error: Unterminated quoted string
[!!] Attempted to use login credentials, but they were invalid
@jmrenouard
Copy link
Collaborator

Hi @svaningelgem

do you try unspecialized quote with " for example or use .my.cnf as explain in README.md ?

A quick and easy solution is avoiding using quotes in password for mysqltuner.pl and for all kind of script in fact :)

BR
@jmrenouard

@svaningelgem
Copy link
Author

That's basically what I did ;-), but I was hoping you could improve the script to accommodate those passwords as well.

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