List:General Discussion« Previous MessageNext Message »
From:Kalle Saarinen Date:July 8 2003 5:06am
Subject:mysqldump
View as plain text  
Hello

I'm trying to make mysqldump in a shell script but I can't deliver password
to sql server.

I have command in the script:

mysqldump databasename -u username -p password > /to/a/directory/dump.sql

When i run the script it asks for a password and takes the password given in
the script for a table name.

How can I give the password in the script???

mysqldump --help wasn't wery helpful...

-Kalle

Thanks

Thread
mysqldumpKalle Saarinen8 Jul
  • Re: mysqldumpDathan Vance Pattishall8 Jul
  • Re: mysqldumpNils Valentin8 Jul
  • AW: mysqldumpJan Schwingenschlögl8 Jul
  • RE: mysqldumpHassan El-Masri9 Jul