Transfering a sql DB to a new host

Discussion in 'Databases' started by its me, Sep 20, 2007.

  1. #1
    I've never tried this before but i need to transfer a DB from one host to another. Can i just use the export/import feature? and do i need to change anything once i've moved it like the DB name etc?
     
    its me, Sep 20, 2007 IP
  2. evera

    evera Peon

    Messages:
    283
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can safe a database like any other data.
    If you use phpmyadmin you can safe it in different formats where all data and the structure will be exactly the same as in your old host.

    The only problem could be that your new host has a limit on how many data you can insert in the database. Then you have to ask your host to add it.
     
    evera, Sep 21, 2007 IP
  3. amaze

    amaze Active Member

    Messages:
    594
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Use mySQLAdmin - is fantastic!
     
    amaze, Sep 21, 2007 IP
  4. meetgs

    meetgs Active Member

    Messages:
    957
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    70
    #4
    if the database is small, yes you can use import/export.

    for large databases, dump the whole database into a big .sql file, transfer that file and restore.
     
    meetgs, Sep 21, 2007 IP