Bug #19611 missleading error message while using defaults-extra-file parameter
Submitted: 8 May 2006 14:17 Modified: 9 Oct 2007 18:00
Reporter: Oli Sennhauser Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version:any? OS:Any (any?)
Assigned to: CPU Architecture:Any

[8 May 2006 14:17] Oli Sennhauser
Description:
This command:

$ mysql -u root  --defaults-extra-file=oli.cnf

leads to a strange error message:

mysql: unknown variable 'defaults-extra-file=/u00/app/mysql/.my.cnf'

The behaviour is documented bug the error message is missleading.

How to repeat:
mysql -u root  --defaults-extra-file=oli.cnf

Suggested fix:
1. Fix error message
2. Parameter should NOT be position related (IMHO). Eas of use?!?
[9 Mar 2007 13:14] Sveta Smirnova
Seems to be duplicate of bug #12917
[9 Oct 2007 18:00] Sergei Golubchik
unfortunately, --defaults-extra-file *is* positional, manual explicitly says that it must be the first on the command line