Oracle 5.0 Reference Manual page 289

Table of Contents

Advertisement

[269],
--raw
-r
For tabular output, the "boxing" around columns enables one column value to be distinguished from
another. For nontabular output (such as is produced in batch mode or when the
or
[269]
option is given), special characters are escaped in the output so they can
--silent
be identified easily. Newline, tab, NUL, and backslash are written as \n, \t, \0, and \\. The
[269]
option disables this character escaping.
raw
The following example demonstrates tabular versus nontabular output and the use of raw mode to
disable escaping:
%
mysql
mysql> SELECT CHAR(92);
+----------+
| CHAR(92) |
+----------+
| \
|
+----------+
%
mysql -s
mysql> SELECT CHAR(92);
CHAR(92)
\\
%
mysql -s -r
mysql> SELECT CHAR(92);
CHAR(92)
\
[269]
--reconnect
If the connection to the server is lost, automatically try to reconnect. A single reconnect attempt
is made each time the connection is lost. To suppress reconnection behavior, use
[269].
reconnect
--safe-updates
Permit only those
UPDATE
key values. If you have set this option in an option file, you can override it by using
[269]
on the command line. See
updates
about this option.
[269]
--secure-auth
Do not send passwords to the server in old (pre-4.1.1) format. This prevents connections except for
servers that use the newer password format.
--show-warnings
Cause warnings to be shown after each statement if there are any. This option applies to interactive
and batch mode. This option was added in MySQL 5.0.6.
--sigint-ignore
Ignore
signals (typically the result of typing Control+C).
SIGINT
[269],
--silent
-s
Silent mode. Produce less output. This option can be given multiple times to produce less and less
output.
This option results in nontabular output format and escaping of special characters. Escaping may be
disabled by using raw mode; see the description for the
--skip-column-names
— The MySQL Command-Line Tool
mysql
[269],
--i-am-a-dummy
and
statements that specify which rows to modify by using
DELETE
Section 4.5.1.6,
[269]
[269]
[269],
-N
269
[269],
-U
"mysql
Tips", for more information
[269]
option.
--raw
[265]
--batch
--
--skip-
--safe-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents