Hello.

 

I am using mysql 4.0.18 on rh3, and I would like to daily save db state. I
have this small script 

under the cron directory that when executed from the prompt works fine.

Basically the dump is done by: 

 

mysqldump --user=root --password=<root-password>  --opt bugs >
$BACKUPDIR$BACKUPSQLFILE

 

My problem is that it does not seem to work when the crond calls the script.
The result of the dump is a zero size sql file.

 

I know this might be a Linux problem,but nevertheless what might be the
cause?

 

Regards, Alex

Reply via email to