Skip to content
Snippets Groups Projects
Commit 1a2279cb authored by elijah's avatar elijah
Browse files

added double quotes around password in .my.cnf

parent 72e56ec1
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,9 @@ version 0.x -- xxxxxxxxxxxxx
added configfile option to mysql handler
the default is /etc/mysql/debian.cnf. with this,
sqldump doesn't need dbusername. (hotcopy still does).
fixed bug in mysql handler which caused some passwords to not work.
(.my.cnf files now have double quotes around password)
version 0.5 -- April 12 2005
rdiff handler works when remote sshd has a banner
rdiff handler supports local dest
......
......@@ -96,15 +96,15 @@ if [ "$dbusername" != "" -a "$dbpassword" != "" ]; then
# auto generated backupninja mysql conf
[mysql]
user=$dbusername
password=$dbpassword
password="$dbpassword"
[mysqldump]
user=$dbusername
password=$dbpassword
password="$dbpassword"
[mysqlhotcopy]
user=$dbusername
password=$dbpassword
password="$dbpassword"
EOF
umask $oldmask
defaultsfile="--defaults-file=$mycnf"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment