Bug #39082 Some mysqld parameters should be able to take a value
Submitted: 27 Aug 2008 23:41 Modified: 27 Aug 2008 23:52
Reporter: Lachlan Mulcahy Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S4 (Feature request)
Version:Any OS:Any
Assigned to: CPU Architecture:Any

[27 Aug 2008 23:41] Lachlan Mulcahy
Description:
Some parameters to mysqld such as skip-locking and skip-networking may not take a value in the MySQL option file.

This can cause problems with many .ini generation toolkits, as they expect all parameters to be paired with a value of some kind.

How to repeat:
add skip-locking=1 to your my.cnf / my.ini file and start the server
observe the error:

 /usr/local/mysql/bin/mysqld: option '--skip-locking' cannot take an argument

Suggested fix:
Allow options such as skip-networking / skip-locking, etc. to take a value. 

eg. 

skip-locking=1

Perhaps any value other than 0 is treated as enabling the option. 0 is treated as disabling it.