[LUNI] Re: Help with bash script

David Gibbs david at midrange.com
Sat Feb 3 17:27:43 CST 2007


Stephen Boulet wrote:
>   rm -f tracks.sql mahler_backup.tar.bz2
>   mysqldump --add-drop-table  -u root -p --opt tracks > tracks.sql
>   tar -cpfj mahler_backup.tar.bz2 /usr/local/share/moin tracks.sql
> 
> The middle step needs for me to enter the password, and this is where I
> get stuck ...

Have you tried putting the password in $HOME/.my.cnf?

david



More information about the luni mailing list