.my.cnf typo fix
parent
89313a3e89
commit
c81e139f78
|
@ -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 <<EOF >> /tmp/.my.cfg
|
||||
cat <<EOF >> /root/.my.cnf
|
||||
[client]
|
||||
user=root
|
||||
password=${MYSQL_PASS}
|
||||
|
|
Loading…
Reference in New Issue