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

mysqldump & special characters in the password #72

Open
vitaleg opened this issue Apr 23, 2023 · 1 comment
Open

mysqldump & special characters in the password #72

vitaleg opened this issue Apr 23, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@vitaleg
Copy link

vitaleg commented Apr 23, 2023

If the MySQL database user password contains special characters, the backup process is not possible.

Log:
bash: line 1: VGNmggFy8v9KL!: command not found
Usage: mysqldump [OPTIONS] database [tables]
OR mysqldump [OPTIONS] --databases DB1 [DB2 DB3...]
OR mysqldump [OPTIONS] --all-databases
OR mysqldump [OPTIONS] --system=[SYSTEMOPTIONS]]
For more options, use mysqldump --help
Remote: Host key verification failed
Connection closed by remote host. Is borg working on the server?

The password must be inside quotes.
Like that:

mysqldump -u username -p"password" dbname....

@GaetanF GaetanF self-assigned this Jun 1, 2023
@GaetanF GaetanF added the bug Something isn't working label Jun 1, 2023
@GaetanF
Copy link
Collaborator

GaetanF commented Jun 1, 2023

Hello,

Thanks for you feedback.

Ok, I have try a fix. I need to test them on my cyborgbackup server.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants