port to 0.9.8: mysql information is not in local.sh anymore
This commit is contained in:
parent
8f43b19340
commit
4706995038
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue