mysqldump on console, how to escape password?
Posted
by psynnott
on Super User
See other posts from Super User
or by psynnott
Published on 2010-03-25T09:49:57Z
Indexed on
2010/03/25
9:53 UTC
Read the original article
Hit count: 588
Hello,
I am running a mysqldump via a bash script and have encountered a problem with a password that contains special characters. How do I escape the password?
mysqldump -hlocalhost -uUSERNAME -pPA$$W0RD DATABASE | gzip > /home/USERNAME/backups-mysql/BACKUP.gz
© Super User or respective owner