Commit ac9c15bd authored by Antoine Beaupré's avatar Antoine Beaupré Committed by fred

port to 0.9.8: mysql information is not in local.sh anymore

parent 5ab382ce
......@@ -403,9 +403,8 @@ debug end
#
# the "<< EOF" mean send data to the command until EOF (end of file)
#
debug /usr/bin/mysql -h"$MYSQL_HOST" -u"$MYSQL_USER" -p"XXXX" "$MYSQL_DATABASE" -B
/usr/bin/mysql -h"$MYSQL_HOST" -u"$MYSQL_USER" -p"$MYSQL_PASS" \
"$MYSQL_DATABASE" --batch << EOF | tail -n '+2' | dobck
debug /usr/bin/mysql --defaults-file=/etc/alternc/my.cnf --batch
/usr/bin/mysql --defaults-file=/etc/alternc/my.cnf --batch << EOF | tail -n '+2' | dobck
SELECT login, pass, db, bck_history, bck_gzip, bck_dir
FROM db
WHERE bck_mode=$mode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment