diff options
author | Elijah Saxon <elijah@riseup.net> | 2005-06-09 20:02:28 +0000 |
---|---|---|
committer | Elijah Saxon <elijah@riseup.net> | 2005-06-09 20:02:28 +0000 |
commit | 1a2279cba4d6d3c8096d806d8042e228308465af (patch) | |
tree | 969d39db27e2e48543a403757030d395cee11a8f /handlers | |
parent | 72e56ec106acee747b771b0f0d0607c73a4788c2 (diff) | |
download | backupninja-1a2279cba4d6d3c8096d806d8042e228308465af.tar.gz backupninja-1a2279cba4d6d3c8096d806d8042e228308465af.tar.bz2 |
added double quotes around password in .my.cnf
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/mysql | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/handlers/mysql b/handlers/mysql index 13dd62f..a4a1497 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -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" |