Go to the first, previous, next, last section, table of contents.


H Environment Variables

MySQLで直接又は間接的に使用されている全ての環境変数リストを示します。これらのほとんどはこのマニュアルのどこかで使用されています。

コマンドラインオプションで指定される環境変数はコンフィギュレーションファイルで指定されるものよりも優先されます。また、コンフィギュレーションファイルで指定される環境変数はシェルで設定された環境変数よりも優先されます。

MySQLの振る舞いを指定する場合、環境変数はシェルで設定するよりもにコンフィギュレーションファイルで設定される方が望ましいことが多いです。 「4.1.2 my.cnf オプションファイル」節参照

CCX Set this to your C++ compiler when running configure.
CC Set this to your C compiler when running configure.
CFLAGS Flags for your C compiler when running configure.
CXXFLAGS Flags for your C++ compiler when running configure.
DBI_USER The default user name for Perl DBI.
DBI_TRACE Used when tracing Perl DBI.
HOME The default path for the mysql history file is `$HOME/.mysql_history'.
LD_RUN_PATH Used to specify where your libmysqlclient.so is.
MYSQL_DEBUG Debug-trace options when debugging.
MYSQL_HISTFILE The path to the mysql history file.
MYSQL_HOST Default host name used by the mysql command-line prompt.
MYSQL_PWD The default password when connecting to mysqld. Note that use of this is insecure!
MYSQL_TCP_PORT The default TCP/IP port.
MYSQL_UNIX_PORT The default socket; used for connections to localhost.
PATH Used by the shell to finds the MySQL programs.
TMPDIR The directory where temporary tables/files are created.
TZ This should be set to your local time zone. 「A.4.6 Time Zone Problems」節参照.
UMASK_DIR The user-directory creation mask when creating directories. Note that this is ANDed with UMASK!
UMASK The user-file creation mask when creating files.
USER The default user on Windows to use when connecting to mysqld.


Go to the first, previous, next, last section, table of contents.