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.

HOW: Transfer MySQL data to another account

Discussion in 'General Discussion' started by SuperBaby, Feb 5, 2004.

  1. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    I have an MySQL database in account for domain1.com. Now I would like to transfer this database to the account for domain2.com and have the database name changed from default_domain1 to default_domain2.

    How do I do that? Can I use the MySQL backup feature in CPanel to create the backup in domain1.com and restore it in the CPanel of domain2.com?
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Yes, you can. If you download the backup it will be default.gz. Upload this to domain2 and it will be given the prefix domain2, so that it will be domain2_default.
     
  3. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    Thanks. I will try that.
     
Loading...

Share This Page