Bug #85501 Make all options settable as variables in configuration files
Submitted: 17 Mar 2017 9:30
Reporter: Umesh Shastry Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Options Severity:S4 (Feature request)
Version:5.7,8.0 OS:Any
Assigned to: CPU Architecture:Any

[17 Mar 2017 9:30] Umesh Shastry
Description:
Looking at the table https://dev.mysql.com/doc/mysqld-version-reference/en/mysqld-version-reference-optvar.html
there are many option/variable's which are valid on the command line, server system variable's allowed to set using SET statement but are invalid if you try to attempt to set in configuration file. This is a feature request to allow all available mysqld Option/Variable's to be configurable/settable in the configuration file(my.cnf/my.ini).

Consider the case of option "character_set_connection" which can be set only using SET statement and any attempt to set in configuration file 
will result in:

-- 5.7.17

[ERROR] unknown variable 'character_set_connection=utf8'
[ERROR] Aborting

How to repeat:
As in description.

Suggested fix:
Make all options settable as variables in configuration files
[17 Mar 2017 9:35] MySQL Verification Team
Bug #85495 marked as duplicate of this
[17 Mar 2017 9:36] MySQL Verification Team
Bug #85496 marked as duplicate of this