By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,271 Members | 1,274 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,271 IT Pros & Developers. It's quick & easy.

AW: mysqldump

P: n/a
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???

Try it like this:
mysqldump databasename --password=PASSWORD

the password needs to be the mysql root password
MySQL General Mailing List
For list archives:
To unsubscribe:***********

Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.