the above work around (changing debian.cnf) only works if you are not specifying a username and password in the config file
" if [ -z "${USERNAME}" -o -z "${PASSWORD}" ] ; then mysqldump --defaults-file=/etc/mysql/debian.cnf $NEWOPT $1 > $2 else "
the above work around (changing debian.cnf) only works if you are not specifying a username and password in the config file
" if [ -z "${USERNAME}" -o -z "${PASSWORD}" ] ; then
mysqldump --defaults- file=/etc/ mysql/debian. cnf $NEWOPT $1 > $2
else "