mysqldump
— A Database Backup Program
296
Format
Option File
Description
Introduced
--fields-
terminated-
by=string [300]
fields-terminated-
by [300]
This option is used with the --tab option and has
the same meaning as the corresponding clause
for LOAD DATA INFILE
--first-
slave [300]
first-slave [300]
Deprecated; use --lock-all-tables instead
--flush-
logs [300]
flush-logs [300]
Flush the MySQL server log files before starting
the dump
--flush-
privileges [301]
flush-
privileges [301]
Emit a FLUSH PRIVILEGES statement after
dumping the mysql database
--help [298]
Display help message and exit
--hex-blob [301]
hex-blob [301]
Dump binary columns using hexadecimal notation
(for example, 'abc' becomes 0x616263)
--host [301]
host [301]
Host to connect to (IP address or hostname)
--ignore-
table=db_name.tbl_name [301]
ignore-
table [301]
Do not dump the given table
--insert-
ignore [301]
insert-
ignore [301]
Write INSERT IGNORE statements rather than
INSERT statements
--lines-terminated-
by=string [301]
lines-terminated-
by [301]
This option is used with the --tab option and has
the same meaning as the corresponding clause
for LOAD DATA INFILE
--lock-all-
tables [301]
lock-all-
tables [301]
Lock all tables across all databases
--lock-
tables [301]
lock-tables [301]
Lock all tables before dumping them
--log-
error=file_name [301]
log-error [301]
Append warnings and errors to the named file
5.0.42
--master-
data[=value] [302]
master-
data [302]
Write the binary log file name and position to the
output
--
max_allowed_packet=value
max_allowed_packet
The maximum packet length to send to or receive
from the server
--
net_buffer_length=value [307]
net_buffer_length [307]
The buffer size for TCP/IP and socket
communication
--no-
autocommit [303]
no-
autocommit [303]
Enclose the INSERT statements for each dumped
table within SET autocommit = 0 and COMMIT
statements
--no-create-
db [303]
no-create-
db [303]
This option suppresses the CREATE DATABASE
statements
--no-create-
info [303]
no-create-
info [303]
Do not write CREATE TABLE statements that re-
create each dumped table
--no-data [303]
no-data [303]
Do not dump table contents
--no-set-
names [303]
no-set-
names [303]
Same as --skip-set-charset
--opt [303]
opt [303]
Shorthand for --add-drop-table --add-locks --
create-options --disable-keys --extended-insert --
lock-tables --quick --set-charset.
--order-by-
primary [303]
order-by-
primary [303]
Dump each table's rows sorted by its primary key,
or by its first unique index
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 ...