Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    35
    Likes Received:
    0
    Trophy Points:
    156
    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:
    68
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice