Hi

    Just read this last night.  Try

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

Mike


----- Original Message -----
From: "Kalle Saarinen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: July 7, 2003 8:21 AM
Subject: mysqldump


> 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
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]
>


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to