Am 20 Dec 2001 03:35:37 -0600 schrieb ROry O'Connor:
> this is an absolute newbie question - but when i try to run mysqldump with a cron 
>(like with a shell script) i can't because mysqldump utility stops to ask for a 
>password.  how can I either embed the password or set up mysqldump to not ask for one 
>if, for instance, root is running the shell script?

use mysqldump -uUSERNAME -pPASSWORD DATABASE

to dump the databse DATABASE for shich user USERNAME has access by using
password PASSWORD


have fun,
henning



---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to