MYSQLDUMP_OPTIONS variable is ignored

Bug #684350 reported by Bartosz Fenski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bashup
Incomplete
Undecided
Unassigned

Bug Description

Seems someone tried to create a way to force mysqldump to use extra options, but he/she only created MYSQLDUMP_OPTIONS variable which is ignored.

This would be useful at least to add skip-lock-tables option.

regards
fEnIo

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

Hey,

could you dump your bashup configuration with an code example of what you'd like to do?

Best,

Changed in bashup:
status: New → Incomplete
Revision history for this message
Bartosz Fenski (fenio) wrote :

SOURCE=mysqldump
MYSQL_USER=root
MYSQL_PASS=xxxx
FILTER="bzip2 gpg_symmetric"
DESTINATION=ftp_file
FTP_HOST=xx.xx.xx.xx
CURL_OPTIONS="-u xxxx:xxxx"
GPG_PROGRAM=/usr/bin/gpg
GPG_PASSPHRASE=xxxx
FILE=mysql-%Y-%m-%d_%H:%M.tar.bz2.gpg
FILES_TO_KEEP=5
ROTATE_ACCESS=ftp
ROTATE_LOCATION=${FILE}
USE_REPORTERS="console log"
COMBINED_LOG=combined.log
ERROR_LOG=error.log

I just want to launch mysqldump with option --skip-lock-tables.

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

Hey,

this is the mysqldump call from bashup:

${MYSQLDUMP_PROGRAM:-mysqldump} -u ${MYSQL_USER} ${MYSQL_PASSWORD:+-p${MYSQL_PASSWORD}} ${MYSQL_HOST:+-h ${MYSQL_HOST}} ${MYSQLDUMP_OPTIONS} $options 2> $stderr

As you can see, "MYSQLDUMP_OPTIONS" is added at the very end before "options".

You example does not contain a MYSQLDUMP_OPTIONS definition. Can you please add this and try (and show) again?

Best,

ccm.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.