mysql
— The MySQL Command-Line Tool
265
Format
Option File
Description
Introduced
--
socket=path [270]
socket [270]
For connections to localhost
--ssl-
ca=file_name [270]
ssl-ca [270]
The path to a file that contains a list of trusted SSL
CAs
--ssl-
capath=dir_name [270]
ssl-capath [270]
The path to a directory that contains trusted SSL
CA certificates in PEM format
--ssl-
cert=file_name [270]
ssl-cert [270]
The name of the SSL certificate file to use for
establishing a secure connection
--ssl-
cipher=cipher_list [270]
ssl-cipher [270]
A list of allowable ciphers to use for SSL
encryption
--ssl-
key=file_name [270]
ssl-key [270]
The name of the SSL key file to use for
establishing a secure connection
--ssl-verify-server-
cert [270]
ssl-verify-server-
cert [270]
The server's Common Name value in its certificate
is verified against the host name used when
connecting to the server
--table [270]
table [270]
Display output in tabular format
--
tee=file_name [270]
tee [270]
Append a copy of output to the given file
--
unbuffered [270]
unbuffered [270]
Flush the buffer after each query
--
user=user_name [270]
user [270]
MySQL user name to use when connecting to
server
--verbose [270]
Verbose mode
--version [270]
Display version information and exit
--vertical [270]
vertical [270]
Print query output rows vertically (one line per
column value)
--wait [270]
wait [270]
If the connection cannot be established, wait and
retry instead of aborting
--xml [270]
xml [270]
Produce XML output
•
--help
[265]
,
-?
Display a help message and exit.
•
--auto-rehash
[265]
Enable automatic rehashing. This option is on by default, which enables database, table, and column
name completion. Use
--disable-auto-rehash
[265]
to disable rehashing. That causes
mysql
to start faster, but you must issue the
rehash
command if you want to use name completion.
To complete a name, enter the first part and press Tab. If the name is unambiguous,
mysql
completes it. Otherwise, you can press Tab again to see the possible names that begin with what
you have typed so far. Completion does not occur if there is no default database.
•
--batch
[265]
,
-B
Print results using tab as the column separator, with each row on a new line. With this option,
mysql
does not use the history file.
Batch mode results in nontabular output format and escaping of special characters. Escaping may be
disabled by using raw mode; see the description for the
--raw
[269]
option.
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...