How To Copy a MySQL Database
Copy a MySQL database on the same server or between servers. This also works for copying individual tables.
In this example, db_test is copied to db_test_2. db_test must already exist.
Create the target database:
a) If you want to move the whole database
b) If you want to move only certain tables
Import the dump into the new database: