I wrote a simple shell script to dump a specific mysql database. problem is it is prompting me for a password even though I provide on. The mysql db is version 5.0.27 if that matters. Here is the specific line I am using.
$MYSQLDUMP -u backup -p$MyPass $DB > $DEST/$FILE
I tried several variations, but to no avail.