Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-449

Check $MARIADB_HOME/my.cnf in addition to $MYSQL_HOME/my.cnf

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.6
    • Fix Version/s: 3.1.8
    • Labels:
      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

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              georg Georg Richter
              Reporter:
              GeoffMontee Geoff Montee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: