The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Copy Mysql DB and Rename?

Discussion in 'General Discussion' started by azn_romeo_4u, Oct 19, 2009.

  1. azn_romeo_4u

    azn_romeo_4u Active Member

    Joined:
    Jun 1, 2005
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
Loading...

Share This Page