-3

I want to move one table in one database to other database using mysql dump on linux terminal How can I go about it ?

closed as off-topic by Max Vernon, dezso, Mark Storey-Smith, Kin Shah, StanleyJohns Sep 22 '13 at 4:54

If this question can be reworded to fit the rules in the help center, please edit the question.

1

Take dump of a particular table from the particular database.

mysqldump -u root -p --databases DBname --tables Tablename > xxyy.sql

Import the table into new database.

mysql -u root -p newDBname < xxyy.sql

If you want to rename the table.

rename table dbname.tablename to dbname.newtablename;

Not the answer you're looking for? Browse other questions tagged or ask your own question.