Oracle 5.0 Reference Manual page 286

Table of Contents

Advertisement

--character-sets-dir=path
The directory where character sets are installed. See
--column-names
Write column names in results.
[266],
--comments
Whether to preserve comments in statements sent to the server. The default is --skip-comments
(discard comments), enable with --comments (preserve comments). This option was added in
MySQL 5.0.52.
[266],
--compress
Compress all information sent between the client and the server if both support compression.
--database=db_name
The database to use. This is useful primarily in an option file.
--debug[=debug_options]
Write a debugging log. A typical
'd:t:o,/tmp/mysql.trace'.
[266],
--debug-info
Print some debugging information when the program exits.
--default-character-set=charset_name
Use
charset_name
A common issue that can occur when the operating system uses
character set is that output from the
MySQL client uses the
this option to force the client to use the system character set instead.
See
Section 10.5, "Character Set
--delimiter=str
Set the statement delimiter. The default is the semicolon character (";").
--disable-named-commands
Disable named commands. Use the
a line ending with a semicolon (";").
with this option, long-format commands still work from the first line. See
Commands".
--execute=statement
Execute the statement and quit. The default output format is like that produced with
[265]. See
Section 4.2.3.1, "Using Options on the Command
batch
With this option,
mysql
[266],
--force
-f
Continue even if an SQL error occurs.
--host=host_name
— The MySQL Command-Line Tool
mysql
[266]
[266]
-c
-C
[266],
-D db_name
[266],
-# [debug_options]
debug_options
-T
as the default character set for the client and connection.
mysql
character set by default. You can usually fix such issues by using
latin1
Configuration", for more information.
[266]
[266]
form only, or use named commands only at the beginning of
\*
mysql
[266],
-e statement
does not use the history file.
[266],
-h host_name
266
Section 10.5, "Character Set
string is 'd:t:o,file_name'. The default is
[266]
utf8
client is formatted incorrectly, due to the fact that the
starts with this option enabled by default. However, even
Configuration".
or another multi-byte
Section 4.5.1.2,
"mysql
--
Line", for some examples.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents