Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
-
None
Description
If a configuration file contains unknown options, and if you run a client with the --help option, then it will fail. For example:
$ sudo tee /etc/mysql/mariadb.conf.d/bad_option.cnf <<EOF
|
[mysql]
|
bad_option=1
|
EOF
|
$ mysql --help
|
mysql: unknown variable 'bad_option=1'
|
It seems like overkill to make --help fail in this scenario. I think --help should always succeed.
Attachments
Issue Links
- relates to
-
MDEV-22981 Bad "default-character-set" option in [client] option group 50-client.cnf on Debian/Ubuntu
- Closed