Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-21365

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

    XMLWordPrintable

    Details

      Description

      This task is similar to CONC-449, but this task is for the server itself, and not for MariaDB Connector/C.

      Currently, if the $MYSQL_HOME environment variable is set, then MariaDB reads the $MYSQL_HOME/my.cnf configuration file, if it exists:

      https://github.com/MariaDB/server/blob/mariadb-10.4.11/mysys/my_default.c#L1206

      https://mariadb.com/kb/en/library/configuring-mariadb-with-option-files/#default-option-file-locations-on-linux-unix-mac

      To further MariaDB's branding, I think MariaDB should similarly check $MARIADB_HOME/my.cnf, if the $MARIADB_HOME environment variable is set.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ratzpo Rasmus Johansson
              Reporter:
              GeoffMontee Geoff Montee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: