B Environment Variables

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 3.3.2, “Using Option Files.”

Variable

Description

CXX

The name of your C++ compiler (for running configure).

CC

The name of your C compiler (for running configure).

CFLAGS

Flags for your C compiler (for running configure ...

Get MySQL® Administrator's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.