Last active
August 20, 2016 13:38
-
-
Save ontiuk/019d5647f053523dc4a2 to your computer and use it in GitHub Desktop.
MySQL Command Line Dump: mysqldump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Command Line: Dump Table Contents. One insert per line */ | |
| mysqldump --complete-insert --lock-all-tables --no-create-db | |
| --no-create-info --skip-extended-insert --password=XXX -u XXX | |
| --dump-date dump_table_name > dump_table_data.sql | |
| /* Command Line: Dump Table Contents. One insert per line. Root SSH no pwd */ | |
| mysqldump --complete-insert --lock-all-tables --no-create-db | |
| --no-create-info --skip-extended-insert --dump-date dump_table_name > dump_table_data.sql | |
| /* Command Line: Dump Table Contents & Structure. One insert per line. Root SSH no pwd */ | |
| mysqldump --complete-insert --lock-all-tables --skip-extended-insert --dump-date dump_table_name > dump_table_full.sql | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment