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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.