mysql
— The MySQL Command-Line Tool
270
Do not write column names in results.
•
--skip-line-numbers
[270]
,
-L
Do not write line numbers for errors. Useful when you want to compare result files that include error
messages.
•
--socket=path
[270]
,
-S path
For connections to
localhost
, the Unix socket file to use, or, on Windows, the name of the named
pipe to use.
•
--ssl*
Options that begin with
--ssl
[607]
specify whether to connect to the server using SSL and
indicate where to find SSL keys and certificates. See
Section 6.3.6.4, “SSL Command Options”
.
•
--table
[270]
,
-t
Display output in table format. This is the default for interactive use, but can be used to produce table
output in batch mode.
•
--tee=file_name
[270]
Append a copy of output to the given file. This option works only in interactive mode.
Section 4.5.1.2,
“
mysql
Commands”
, discusses tee files further.
•
--unbuffered
[270]
,
-n
Flush the buffer after each query.
•
--user=user_name
[270]
,
-u user_name
The MySQL user name to use when connecting to the server.
•
--verbose
[270]
,
-v
Verbose mode. Produce more output about what the program does. This option can be given
multiple times to produce more and more output. (For example,
-v -v -v
produces table output
format even in batch mode.)
•
--version
[270]
,
-V
Display version information and exit.
•
--vertical
[270]
,
-E
Print query output rows vertically (one line per column value). Without this option, you can specify
vertical output for individual statements by terminating them with
\G
.
•
--wait
[270]
,
-w
If the connection cannot be established, wait and retry instead of aborting.
•
--xml
[270]
,
-X
Produce XML output.
Note
Prior to MySQL 5.0.26, there was no differentiation in the output when
using this option between columns containing the
NULL
value and columns
containing the string literal
'NULL'
; both were represented as
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...