[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] Cron job to backup MySQL



I have a short PERL script that executes mysqlhotcopy
which works fine from the command line when logged
in as root.  I put the root MySQL password in the
/root/.my.cnf file.  When the cron job runs (cron.daily)
it fails using no password saying that root@localhost
is not authorized.  What gives?  How do I get the cron
job to recognized the .my.cnf file containing the password?

jay