Monday, May 11, 2015

MySQL: How do you mysqldump specific table(s)?


If you need to dump tables t1 and t2 from the database "my_database" you need to run next command:


mysqldump -u "your user" -p my_database t1 t2 > dump_example.sql

No comments:

Post a Comment