Help moving mysql DB from one hosting company to another

Discussion in 'MySQL' started by jawinn, Jan 16, 2006.

  1. #1
    Does anyone out there know how I could move a mysql database from one company to another? I basically want to do a copy and paste. Is this possible?

    Thanks,
     
    jawinn, Jan 16, 2006 IP
  2. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #2
    1. on the old server, from your MySQL Admin, do an "export" or "dump" (depends on which Admin the host has), including structure and data

    2. download this file to your computer and then upload it to the new server

    3. create a new MySQL database on the new server

    4. import the "dump" or just cut and paste the SQL into your MySQL Admin SQL box and execute

    If you have problems with this due to a big database, try searching for a utility called "BigDump" and use that.
     
    minstrel, Jan 16, 2006 IP
    Alvin likes this.
  3. roy77

    roy77 Active Member

    Messages:
    1,088
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    78
    #3
    minstrel - thanks! you helped me here too! have a ncie day :)
     
    roy77, Jan 6, 2007 IP
  4. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #4
    paidhosting, Jan 6, 2007 IP