[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Cron job to backup MySQL
- Subject: [cobalt-developers] Cron job to backup MySQL
- From: Jay Nelson <jay@xxxxxxxxxxx>
- Date: Wed Mar 6 09:46:26 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
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