Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.29, 10.1.43, 10.3.20, 10.4.11
-
None
Description
mysqld and other utilities support the --help --verbose parameters. When these parameters are set, the utility will print out the configuration files that it reads:
$ mysqld --help --verbose
|
...
|
Default options are read from the following files in the given order:
|
/etc/my.cnf ~/.my.cnf
|
...
|
The default paths for configuration files can be overridden by using the --defaults-file option.
However, the --help --verbose parameters do not seem to take this option into account when printing configuration file paths:
$ mysqld --defaults-file=/tmp/my.cnf --help --verbose
|
...
|
Default options are read from the following files in the given order:
|
/etc/my.cnf ~/.my.cnf
|
...
|