This appendix lists 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 take precedence over values specified in option files and environment variables, and values in option files take precedence over values in environment variables.
In many cases, it's preferable to use an option file instead of environment variables to modify the behavior of MySQL. See section 4.3.2 Using Option Files.
| The name of your C++ compiler (for running |
| The name of your C compiler (for running |
| Flags for your C compiler (for running |
| Flags for your C++ compiler (for running |
|The default username for Perl DBI.|
|Trace options for Perl DBI.|
| The default path for the |
|Used to specify where your `libmysqlclient.so' is located.|
|Debug trace options when debugging.|
| The path to the |
| The default hostname used by the |
| The command prompt to use in the |
| The default password when connecting to |
|The default TCP/IP port number.|
| The default Unix socket filename; used for connections to |
|Used by the shell to find MySQL programs.|
|The directory where temporary 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 username on Windows and NetWare to use when
connecting to |
Go to the first, previous, next, last section, table of contents.