|
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
https://mariadb.com/kb/en/library/configuring-mariadb-connectorc-with-option-files/#default-option-file-locations-on-linux-unix-mac
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.
|