Here is a list of all the environment variables that are used directly or indirectly by MySQL. Most of these can also be found in other places in this manual.
Note that any options on the command-line will take precedence over values specified in configuration files and environment variables, and values in configuration files take precedence over values in environment variables.
In many cases it's preferable to use a configure file instead of environment variables to modify the behaviour of MySQL. See section 4.1.2 `my.cnf' Option Files.
|Set this to your C++ compiler when running configure.|
|Set this to your C compiler when running configure.|
|Flags for your C compiler when running configure.|
|Flags for your C++ compiler when running configure.|
|The default user name for Perl DBI.|
|Used when tracing Perl DBI.|
| The default path for the |
|Used to specify where your `libmysqlclient.so' is.|
|Debug-trace options when debugging.|
| The path to the |
| Default host name used by the |
| Command prompt to use in the |
| The default password when connecting to |
|The default TCP/IP port.|
| The default socket; used for connections to |
|Used by the shell to finds the MySQL programs.|
|The directory where temporary tables/files are created.|
|This should be set to your local time zone. See section A.4.6 Time Zone Problems.|
| The user-directory creation mask when creating directories. Note that this is ANDed with |
|The user-file creation mask when creating files.|
| The default user on Windows to use when connecting to |