aboutsummaryrefslogtreecommitdiff
path: root/handlers/mysql
diff options
context:
space:
mode:
authorElijah Saxon <elijah@riseup.net>2005-06-09 20:02:28 +0000
committerElijah Saxon <elijah@riseup.net>2005-06-09 20:02:28 +0000
commit1a2279cba4d6d3c8096d806d8042e228308465af (patch)
tree969d39db27e2e48543a403757030d395cee11a8f /handlers/mysql
parent72e56ec106acee747b771b0f0d0607c73a4788c2 (diff)
downloadbackupninja-1a2279cba4d6d3c8096d806d8042e228308465af.tar.gz
backupninja-1a2279cba4d6d3c8096d806d8042e228308465af.tar.bz2
added double quotes around password in .my.cnf
Diffstat (limited to 'handlers/mysql')
-rw-r--r--handlers/mysql6
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"