.my.cnf typo fix

master
Harold Paulson 2020-10-11 21:20:31 -07:00
parent 89313a3e89
commit c81e139f78
1 changed files with 1 additions and 1 deletions

View File

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