Copy Mysql DB and Rename?

azn_romeo_4u

Active Member
Jun 1, 2005
42
1
158
How do I copy a mysql db and rename it to something else in ssh? The DB resides on a 2nd harddrive though. The DB belongs to example.com When I copy it, it will still belong to example.com right? It will only show up in the phpmyadmin in cpanel that belongs to example.com right?

It's 2gb...and I want to rename it so I can test a current copy of the db.

Thank you.