Option | Description
|
character-sets-dir=dir_name | The directory where character sets are installed.
|
compress | Use the compressed client/server protocol.
|
connect-timeout=seconds | The connect timeout in seconds. On Linux this
timeout is also used for waiting for the first answer from the server.
|
database=db_name | Connect to this database if no database was specified in
the connect command.
|
debug | Debug options.
|
default-character-set=charset_name | The default character set to use.
|
disable-local-infile | Disable use of LOAD DATA LOCAL.
|
enable-cleartext-plugin | Enable the mysql_clear_password cleartext
authentication plugin.
|
host=host_name | Default host name.
|
init-command=stmt | Statement to execute when connecting to MySQL server.
Automatically re-executed if reconnection occurs.
|
interactive-timeout=seconds | Same as specifying CLIENT_INTERACTIVE to
mysql_real_connect(). See Section 5.4.58, “mysql_real_connect()”.
|
local-infile[={0|1}] | If no argument or nonzero argument, enable use of LOAD
DATA LOCAL; otherwise disable.
|
max_allowed_packet=bytes | Maximum size of packet that client can read from
server.
|
multi-queries, multi-results | Enable multiple result sets from multiple
-statement executions or stored procedures.
|
multi-statements | Enable the client to send multiple statements in a single
string (separated by ; characters).
|
password=password | Default password.
|
pipe | Use named pipes to connect to a MySQL server on Windows.
|
port=port_num | Default port number.
|
protocol={TCP|SOCKET|PIPE|MEMORY} | The protocol to use when connecting to
the server.
|
return-found-rows | Tell mysql_info() to return found rows instead of updated
rows when using UPDATE.
|
shared-memory-base-name=name | Shared-memory name to use to connect to
server.
|
socket={file_name|pipe_name} | Default socket file.
|
ssl-ca=file_name | Certificate Authority file.
|
ssl-capath=dir_name | Certificate Authority directory.
|
ssl-cert=file_name | Certificate file.
|
ssl-cipher=cipher_list | Permissible SSL ciphers.
|
ssl-key=file_name | Key file.
|
timeout=seconds | Like connect-timeout.
|
user | Default user.
|
timeout has been replaced by connect-timeout, but timeout is still supported
for backward compatibility.
For more information about option files used by MySQL programs, see Using
Option Files.