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 behavior of MySQL. See section 4.16.5 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 |
|Debug-trace options when debugging.|
| The path to the |
| Default host name used by the |
|The default password when connecting to mysqld. Note that use of this is insecure!|
|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 20.15 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 |
Go to the first, previous, next, last section, table of contents.