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

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.6
    • 3.1.8
    • 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

      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

              georg Georg Richter
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.