-
Notifications
You must be signed in to change notification settings - Fork 259
Environment variables
Georg Richter edited this page Sep 17, 2024
·
3 revisions
MariaDB Connector/C makes use of numerous environment variables that may be set on your system. With a few exceptions environment variables have the lowest precedence, so any options set on the command line or in an option file will take precedence.
Environment variables used by MariaDB Connector/C
Environment variable | Description |
---|---|
MARIADB_PLUGIN_DIR | Directory which contains client plugins e.g. for authentication |
MARIADB_HOME | MariaDB Home directory. If specified, default configuration will be also read from this directory |
MARIADB_TLS_DISABLE_PEER_VERIFICATION | If set peer certificate verification (default since version 3.4.0) will be disabled. This option was added in version 3.4.2 |
MYSQL_PWD | Password for the current user |
MYSQL_TCP_PORT | Port number of remote database server |
MYSQL_UNIX_PORT | Name of the unix socket file |
MariaDB Connector/C Reference