Bug #12463 Help command line option doensn't work when you have an incorrect config file

Submitted: 9 Aug 2005 14:51 Modified: 30 Nov 2007 7:05
Reporter: Reggie Burnett Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.0 OS:Windows (Windows)
Assigned to: Assigned Account CPU Architecture:Any

[9 Aug 2005 14:51] Reggie Burnett
Description:
Running a command such as mysqld-nt --help should print out help even if a config file is present that has syntax errors.  However, mysqld reads and processes the cofig file and prints out any error messages instead of printing help.

How to repeat:
Put a my.ini file in your %windows% folder and intentionally create a syntax error in it.  Then, in a command window, issue the following statement.

mysqld-nt --help --verbose
[13 Aug 2005 7:24] Vasily Kishkin
I tested on Windows 2003:

D:\mysql-4.1.14\client_debug>mysqld-debug.exe --help --verbose
050813 13:22:45 [ERROR] mysqld-debug.exe: unknown variable 'badoption=bad value for bad option'
[24 Aug 2005 13:57] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/28750

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

Page generated in 0.051 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.