Even with the root's .bash_profile including the directories for MySQL in the PATH, I had
to point directly to mysqld.
On 2013-07-03, at 1:37 PM, VP <lists@stripped> wrote:
> Hiya folks.
> So I have this bash script that performs a repair and analyze on a database. It then
> does a mysqldump into a chosen directory.
> When I call this script in the shell, it works just fine. When launchd calls this
> script, the file shows up fine, but the file is empty.
> Any idea why this is happening? Would it not run it as an administrator? I realize
> I'm running the mysqldump as root however I can change that once I know the script is
> being called properly.
> (script below)
Rich in Toronto @ VP