[wellylug] Mysqldump problem
Michael Dittmer
michaeld at mercury-projects.co.nz
Mon Sep 12 10:15:07 NZST 2005
Hi
The following is a script that I'm having some trouble with. The
permissions are set to 744.
#bin/bash
rm /root/MySQL_BackUp/backup.sql
mysqldump -p --password=********* -alldatabases >
/root/MySQL_BackUp/backup.sql
When I issue the command "mysqldump -p --password=*********
-alldatabases > /root/MySQL_BackUp/backup.sql" it works properly,
however when I try to use it inside the script it fails saying
"mysqldump: unknown option '-b'
Any idea what is going on?
Thanks
Michael
More information about the wellylug
mailing list