What environment variables do I need to set in my cron job, so that the ~/.my.cnf settings can be found?
I have a bash shell that executes mysql -e commands just fine interactively, but requires username and password added when run from cron. I'd like to avoid having to do this.
I have a bash shell that executes mysql -e commands just fine interactively, but requires username and password added when run from cron. I'd like to avoid having to do this.