Oracle 5.0 Reference Manual page 285

Table of Contents

Advertisement

Format
Option File
--
socket [270]
socket=path [270]
--ssl-
ssl-ca [270]
ca=file_name [270]
--ssl-
ssl-capath [270]
capath=dir_name [270]
--ssl-
ssl-cert [270]
cert=file_name [270]
--ssl-
ssl-cipher [270]
cipher=cipher_list [270]
--ssl-
ssl-key [270]
key=file_name [270]
--ssl-verify-server-
ssl-verify-server-
cert [270]
cert [270]
--table [270]
table [270]
--
tee [270]
tee=file_name [270]
--
unbuffered [270]
unbuffered [270]
--
user [270]
user=user_name [270]
--verbose [270]
--version [270]
--vertical [270]
vertical [270]
--wait [270]
wait [270]
--xml [270]
xml [270]
[265],
--help
-?
Display a help message and exit.
[265]
--auto-rehash
Enable automatic rehashing. This option is on by default, which enables database, table, and column
name completion. Use
to start faster, but you must issue the
To complete a name, enter the first part and press Tab. If the name is unambiguous,
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.
[265],
--batch
-B
Print results using tab as the column separator, with each row on a new line. With this option,
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
— The MySQL Command-Line Tool
mysql
Description
For connections to localhost
The path to a file that contains a list of trusted SSL
CAs
The path to a directory that contains trusted SSL
CA certificates in PEM format
The name of the SSL certificate file to use for
establishing a secure connection
A list of allowable ciphers to use for SSL
encryption
The name of the SSL key file to use for
establishing a secure connection
The server's Common Name value in its certificate
is verified against the host name used when
connecting to the server
Display output in tabular format
Append a copy of output to the given file
Flush the buffer after each query
MySQL user name to use when connecting to
server
Verbose mode
Display version information and exit
Print query output rows vertically (one line per
column value)
If the connection cannot be established, wait and
retry instead of aborting
Produce XML output
--disable-auto-rehash
rehash
265
[265]
to disable rehashing. That causes
command if you want to use name completion.
[269]
--raw
Introduced
mysql
option.
mysql
mysql

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents