| --add-drop-database |
add-drop-database |
Add a DROP DATABASE statement before each CREATE DATABASE statement |
|
| --add-drop-table |
add-drop-table |
Add a DROP TABLE statement before each CREATE TABLE statement |
|
| --add-locks |
add-locks |
Surround each table dump with LOCK TABLES and UNLOCK TABLES statements |
|
| --all-databases |
all-databases |
Dump all tables in all databases |
|
| --all-tablespaces |
all-tablespaces |
Adds to a table dump all SQL statements needed to create any tablespaces used by an NDB Cluster table |
5.1.6 |
| --allow-keywords |
allow-keywords |
Allow creation of column names that are keywords |
|
| --comments |
comments |
Add comments to the dump file |
|
| --compact |
compact |
Produce less verbose output |
|
| --compatible=name[,name,...] |
compatible |
Produce output that is more compatible with other database systems or with older MySQL servers |
|
| --complete-insert |
complete-insert |
Use complete INSERT statements that include column names |
|
| --create-options |
create-options |
Include all MySQL-specific table options in the CREATE TABLE statements |
|
| --databases |
databases |
Dump several databases |
|
| --debug[=debug_options] |
debug |
Write a debugging log |
|
| --debug-check |
debug-check |
Print debugging information when the program exits |
5.1.21 |
| --debug-info |
debug-info |
Print debugging information, memory and CPU statistics when the program exits |
5.1.14 |
| --delayed-insert |
delayed-insert |
Write INSERT DELAYED statements rather than INSERT statements |
|
| --delete-master-logs |
delete-master-logs |
On a master replication server, delete the binary logs after performing the dump operation |
|
| --disable-keys |
disable-keys |
For each table, surround the INSERT statements with disable and enable keys statements |
|
| --dump-date |
dump-date |
Include dump date in "Dump completed on" comment if --comments is given |
5.1.23 |
| -E |
events |
Dump events from the dumped databases |
|
| --extended-insert |
extended-insert |
Use multiple-row INSERT syntax that include several VALUES lists |
|
| --fields-enclosed-by=string |
fields-enclosed-by |
This option is used with the -T option and has the same meaning as the corresponding clause for LOAD DATA INFILE |
|
| --fields-escaped-by |
fields-escaped-by |
This option is used with the -T option and has the same meaning as the corresponding clause for LOAD DATA INFILE |
|
| --fields-optionally-enclosed-by=string |
fields-optionally-enclosed-by |
This option is used with the -T option and has the same meaning as the corresponding clause for LOAD DATA INFILE |
|
| --fields-terminated-by=string |
fields-terminated-by |
This option is used with the -T option and has the same meaning as the corresponding clause for LOAD DATA INFILE |
|
| --lock-all-tables |
first-slave |
Deprecated. Now renamed to --lock-all-tables |
|
| --flush-logs |
flush-logs |
Flush the MySQL server log files before starting the dump |
|
| --flush-privileges |
flush-privileges |
Emit a FLUSH PRIVILEGES statement after dumping the mysql database |
|
| --help |
|
Display help message and exit |
|
| --hex-blob |
hex-blob |
Dump binary columns using hexadecimal notation (for example, 'abc' becomes 0x616263) |
|
| --ignore-table=db_name.tbl_name |
ignore-table |
Do not dump the given table |
|
| --insert-ignore |
insert-ignore |
Write INSERT statements with the IGNORE option |
|
| --lines-terminated-by=string |
lines-terminated-by |
This option is used with the -T option and has the same meaning as the corresponding clause for LOAD DATA INFILE |
|
| --lock-all-tables |
lock-all-tables |
Lock all tables across all databases |
|
| --lock-tables |
lock-tables |
Lock all tables before dumping them |
|
| --log-error=file_name |
log-error |
Append warnings and errors to the named file |
5.1.18 |
| --master-data[=value] |
master-data |
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 |
net_buffer_length |
The buffer size for TCP/IP and socket communication |
|
| --no-autocommit |
no-autocommit |
Enclose the INSERT statements for each dumped table within SET autocommit = 0 and COMMIT statements |
|
| --no-create-db |
no-create-db |
This option suppresses the CREATE DATABASE statements |
|
| --no-create-info |
no-create-info |
Do not write CREATE TABLE statements that re-create each dumped table |
|
| --no-data |
no-data |
Do not write any table row information (that is, do not dump table contents) |
|
| --no-set-names |
no-set-names |
Turn off complete-insert |
|
| --opt |
opt |
This option is shorthand; it is the same as specifying --add-drop-table --add-locks --create-options --disable-keys --extended-insert --lock-tables --quick --set-charset. |
|
| --order-by-primary |
order-by-primary |
Sorts each table's rows by its primary key, or by its first unique index |
|
| --password[=password] |
password |
The password to use when connecting to the server |
|
| --pipe |
|
On Windows, connect to server via a named pipe |
|
| --port=port_num |
port |
The TCP/IP port number to use for the connection |
|
| --quick |
quick |
Retrieve rows for a table from the server a row at a time |
|
| --quote-names |
quote-names |
Quote database, table, and column names within backtick characters |
|
| --replace |
replace |
Write REPLACE statements rather than INSERT statements |
|
| --result-file=file |
result-file |
Direct output to a given file |
|
| -R |
routines |
Dump stored routines (procedures and functions) from the dumped databases |
|
| --set-charset |
set-charset |
Add SET NAMES default_character_set to the output |
|
| --single-transaction |
single-transaction |
This option issues a BEGIN SQL statement before dumping data from the server |
|
| --skip-add-drop-table |
skip-add-drop-table |
Do not add |
|
| --skip-add-locks |
skip-add-locks |
Do not add locks |
|
| --skip-comments |
skip-comments |
Do not add comments to the dump file |
|
| --skip-compact |
skip-compact |
Turn off compact |
|
| --skip-disable-keys |
skip-disable-keys |
Do not disable keys |
|
| --skip-extended-insert |
skip-extended-insert |
Turn off extended-insert |
|
| --skip-opt |
skip-opt |
Turn off the options set by opt |
|
| --skip-quick |
skip-quick |
Do not retrieve rows for a table from the server a row at a time |
|
| --skip-quote-names |
skip-quote-names |
Turn off quote names |
|
| --skip-set-charset |
skip-set-charset |
Suppress the SET NAMES statement |
|
| --skip-triggers |
skip-triggers |
Turn off triggers |
|
| --skip-tz-utc |
skip-tz-utc |
Turn off tz-utc |
|
| --ssl-ca=file_name |
ssl-ca |
The path to a file that contains a list of trusted SSL CAs |
|
| --ssl-capath=directory_name |
ssl-capath |
The path to a directory that contains trusted SSL CA certificates in PEM format |
|
| --ssl-cert=file_name |
ssl-cert |
The name of the SSL certificate file to use for establishing a secure connection |
|
| --ssl-cipher=cipher_list |
ssl-cipher |
A list of allowable ciphers to use for SSL encryption |
|
| --ssl-key=file_name |
ssl-key |
The name of the SSL key file to use for establishing a secure connection |
|
| --ssl-verify-server-cert |
ssl-verify-server-cert |
The server's Common Name value in its certificate is verified against the host name used when connecting to the server |
|
| --tab=path |
tab |
Produce tab-separated data files |
|
| --tables |
tables |
Override the --databases or -B option |
|
| --triggers |
triggers |
Dump triggers for each dumped table |
|
| --tz-utc |
tz-utc |
Add SET TIME_ZONE='+00:00' to the dump file |
|
| --verbose |
|
Verbose mode |
|
| --version |
|
Display version information and exit |
|
| --where='where_condition' |
where |
Dump only rows selected by the given WHERE condition |
|
| --xml |
xml |
Produce XML output |
|