Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.0.8, 3.1.0
-
None
-
None
Description
On Windows, MariaDB Connector/C looks for its first my.cnf/my.ini directory by calling GetSystemDirectory():
https://github.com/MariaDB/mariadb-connector-c/blob/v3.1.0/libmariadb/ma_default.c#L89
https://docs.microsoft.com/en-us/windows/desktop/api/sysinfoapi/nf-sysinfoapi-getsystemdirectorya
In contrast, on Windows, MariaDB Server looks for its first my.cnf/my.ini directory by calling GetSystemWindowsDirectory():
https://github.com/MariaDB/server/blob/mariadb-10.4.5/mysys/my_default.c#L1177
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
-
CONC-415 Option prefixes not supported in my.cnf
- Open
-
ODBC-229 Add parameters that correspond to MYSQL_READ_DEFAULT_FILE and MYSQL_READ_DEFAULT_GROUP options from MariaDB Connector/C
- Closed