Transfering Database from host to host. how?

Discussion in 'Site & Server Administration' started by bobocheez, Sep 8, 2008.

  1. #1
    Hi,

    I want to switch my host and I'm not too sure how to do that. I have one mysql database and I wish to transfer that. I don't have the command line, so I'm guessing there is a way to do it with CPanel?
     
    bobocheez, Sep 8, 2008 IP
  2. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Camay123, Sep 8, 2008 IP
  3. The Universes

    The Universes Peon

    Messages:
    187
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If its under 50MB, you should be able to use phpMyAdmin in cPanel without a problem. Otherwise, it'll take a longtime and instead, can be easily done through command line.
     
    The Universes, Sep 9, 2008 IP
  4. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #4
    if you using cpanel i'm sure there is a menu where you can backup all of your site into a zip file :)
     
    nimhost, Sep 9, 2008 IP
  5. MarbleHost.com

    MarbleHost.com Well-Known Member Affiliate Manager

    Messages:
    634
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    155
    #5
    1. Log in your phpMyAdmin in your old web host
    2. Click the Export link
    3. In the next step select dababase(s) which you want to export. Press CTRL to select more databases.
    4. Tick the Save in file field
    5. Click the Go button
    6. Log in your phpMyAdmin in your new web host
    7. Click the SQL icon (in the left frame)
    8. Click Import files link
    9. Select the path to the file which you downloaded in steps 1 - 5
    10. Click the Go button

    Your database should be successfully transfered now.
     
    MarbleHost.com, Sep 9, 2008 IP