This one worked for me. It is now sitting in /private/etc/periodic/daily/ with other daily scripts being run by cron. Had to add the path to the MYSQLDUMP utility in this line:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/mysql/bin
This one worked for me. It is now sitting in /private/etc/periodic/daily/ with other daily scripts being run by cron. Had to add the path to the MYSQLDUMP utility in this line:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/mysql/bin