Bug #5955 mysqldump asks for password even if it is specified on the cmdline
Submitted: 7 Oct 2004 11:51 Modified: 7 Oct 2004 18:54
Reporter: Jan Kneschke Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: mysqldump Command-line Client Severity:S3 (Non-critical)
Version:4.1.5 OS:Windows (windows)
Assigned to: CPU Architecture:Any

[7 Oct 2004 11:51] Jan Kneschke
Description:
If my.cnf specifies 'password' in the client-section it can't be overriden be specifying it on the commandline. 

This works since mysql 4.1.4 for the mysql-client, but is still not working in mysqldump.

How to repeat:
$ cat my.cnf
[client]
password

$ mysqldump --password=secret dbname
Password:

Suggested fix:
let mysqldump behave as the mysql-client and take the password from the commandline.
[7 Oct 2004 11:52] Jan Kneschke
removed show-stopper tag
[7 Oct 2004 18:54] Jani Tolonen
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html