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 it - my file that logs the execution of the cron script
>says it doesn't recognize the command mysqladmin
>
>any ideas???
>
>---------------------------------------------------------------------
>Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
>To request this thread, e-mail <mysql-thread107023@stripped>
>To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>