Re: OSX Mysqladmin and Cron

2002-04-24 Thread Dion Wickander
Thanks!!! for the advice it works perfectly now on 4/24/02 2:19 PM, Don Vu at [EMAIL PROTECTED] wrote: > make sure the directory where mysqladmin lives is in your $PATH in that > script, i.e. add $PATH=$PATH:/usr/local/bin (or where ever it is...) in the > beginning of your script where en

Re: OSX Mysqladmin and Cron

2002-04-24 Thread Gerald Clark
Don't put quotes around your password. Dion Wickander wrote: >I set up a script to rotate my logs for mysql and cron fires it off >perfectly the logs are rotated but when the shell script gets to the last >line which is... > >mysqladmin -u usernam -p"Password" flush-logs > >it will not execute i

RE: OSX Mysqladmin and Cron

2002-04-24 Thread Don Vu
make sure the directory where mysqladmin lives is in your $PATH in that script, i.e. add $PATH=$PATH:/usr/local/bin (or where ever it is...) in the beginning of your script where environment variables are set. -Don -Original Message- From: Dion Wickander [mailto:[EMAIL PROTECTED]] Sent