Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
3.0.8
-
None
-
None
-
None
Description
When the server reads options from my.cnf, it supports several option prefixes:
- autoset - Sets the option value automatically. Only supported for certain options. Available in MariaDB 10.1.7 and later.
- disable - For all boolean options, disables the setting (equivalent to setting it to 0). Same as --skip.
- enable - For all boolean options, enables the setting (equivalent to setting it to 1).
- loose - Don't produce an error if the option doesn't exist.
- maximum - Sets the maximum value for the option.
- skip - For all boolean options, disables the setting (equivalent to setting it to 0). Same as --disable.
https://mariadb.com/kb/en/library/configuring-mariadb-with-option-files/#option-prefixes
https://mariadb.com/kb/en/library/mysqld-options/#option-prefixes
MariaDB Connector/C doesn't support these option prefixes yet. We can see that when it reads an option from my.cnf or other option/configuration files, it doesn't check for option prefixes:
Attachments
Issue Links
- blocks
-
MDEV-19035 Make MariaDB Connector/C handle my.cnf parsing for clients
- Open
- relates to
-
CONC-327 !include/!includedir not parsed in my.cnf
- Closed
-
CONC-394 Some TLS-related options are not settable in my.cnf
- Closed
-
CONC-395 Dashes and underscores are not interchangeable in options in my.cnf
- Closed
-
CONC-396 !includedir in my.cnf does not include all .cnf and .ini files in the directory
- Open
-
CONC-399 Add option that corresponds to --defaults-extra-file MariaDB command-line option
- Open
-
CONC-402 Replace underscores with dashes in conf_key values in mariadb_defaults array
- Closed
-
CONC-404 Add option that corresponds to --defaults-group-suffix MariaDB command-line option
- Open
-
ODBC-229 Add parameters that correspond to MYSQL_READ_DEFAULT_FILE and MYSQL_READ_DEFAULT_GROUP options from MariaDB Connector/C
- Closed
-
CONC-416 On Windows, C/C looks for first my.cnf/my.ini in GetSystemDirectory() instead of GetSystemWindowsDirectory()
- Closed