Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.1.6
-
None
-
None
Description
This task is similar to MDEV-21365, but this task is for MariaDB Connector/C, and not the server itself.
Currently, if the $MYSQL_HOME environment variable is set, then MariaDB Connector/C reads the $MYSQL_HOME/my.cnf configuration file, if it exists:
https://github.com/mariadb-corporation/mariadb-connector-c/blob/v3.1.6/libmariadb/ma_default.c#L128
To further MariaDB's branding, I think MariaDB Connector/C should similarly check $MARIADB_HOME/my.cnf, if the $MARIADB_HOME environment variable is set.
Attachments
Issue Links
- relates to
-
CONC-537 Only read from MYSQL_HOME if MARIADB_HOME is not set
- Closed
-
MDEV-21375 Get option group suffix from $MARIADB_GROUP_SUFFIX in addition to $MYSQL_GROUP_SUFFIX
- Open
-
MDEV-21365 Check $MARIADB_HOME/my.cnf in addition to $MYSQL_HOME/my.cnf
- Closed