Oracle 5.0 Reference Manual page 324

Table of Contents

Advertisement

The connection protocol to use for connecting to the server. It is useful when the other connection
parameters normally would cause a protocol to be used other than the one you want. For details on
the permissible values, see
[304],
--quick
-q
This option is useful for dumping large tables. It forces
the server a row at a time rather than retrieving the entire row set and buffering it in memory before
writing it out.
[304],
--quote-names
Quote identifiers (such as database, table, and column names) within "`" characters. If the
[535]
ANSI_QUOTES
is enabled by default. It can be disabled with
be given after any option such as
--result-file=file_name
Direct output to a given file. This option should be used on Windows to prevent newline "\n"
characters from being converted to "\r\n" carriage return/newline sequences. The result file is
created and its previous contents overwritten, even if an error occurs while generating the dump.
[304],
--routines
Include stored routines (procedures and functions) for the dumped databases in the output. Use of
this option requires the
by using
--routines
to re-create the routines. However, these statements do not include attributes such as the routine
creation and modification timestamps. This means that when the routines are reloaded, they will be
created with the timestamps equal to the reload time.
If you require routines to be re-created with their original timestamp attributes, do not use
[304]. Instead, dump and reload the contents of the
routines
MySQL account that has appropriate privileges for the
This option was added in MySQL 5.0.13. Before that, stored routines are not dumped. Routine
values are not dumped until MySQL 5.0.20. This means that before 5.0.20, when routines
DEFINER
are reloaded, they will be created with the definer set to the reloading user. If you require routines
to be re-created with their original definer, dump and load the contents of the
directly as described earlier.
[304]
--set-charset
Add
SET NAMES default_character_set
suppress the
SET NAMES
--single-transaction
This option sets the transaction isolation mode to
SQL statement to the server before dumping data. It is useful only with transactional
TRANSACTION
tables such as
InnoDB
time when
START TRANSACTION
When using this option, you should keep in mind that only
state. For example, any
state.
While a
--single-transaction
table contents and binary log coordinates), no other connection should use the following statements:
— A Database Backup Program
mysqldump
Section 4.2.2, "Connecting to the MySQL
-Q
SQL mode is enabled, identifiers are quoted within """ characters. This option
--compatible
[304],
-r file_name
-R
[578]
privilege for the
SELECT
[304]
contains
CREATE PROCEDURE
statement, use
--skip-set-charset
[304]
and BDB, because then it dumps the consistent state of the database at the
was issued without blocking any applications.
or
MyISAM
MEMORY
[304]
dump is in process, to ensure a valid dump file (correct
304
mysqldump
--skip-quote-names
[299]
that may enable
mysql.proc
and
CREATE FUNCTION
mysql.proc
database.
mysql
to the output. This option is enabled by default. To
REPEATABLE READ
InnoDB
tables dumped while using this option may still change
Server".
to retrieve rows for a table from
[304], but this option should
--quote-names
table. The output generated
statements
table directly, using a
mysql.proc
[304].
and sends a
START
tables are dumped in a consistent
[304].
--
table

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents