diff --git a/install.sh b/install.sh index f804f3f..b5ffa78 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,7 @@ chmod 755 /usr/local/bin/mysqlbackup if [ ! -f /root/.my.cnf ]; then echo -n "Enter the root MySQL Password: " && stty -echo && read MYSQL_PASS && echo "" - cat <> /tmp/.my.cfg + cat <> /root/.my.cnf [client] user=root password=${MYSQL_PASS}