Moving Servers, Different Version Of Mysql

Discussion in 'Site & Server Administration' started by Meads, Dec 6, 2006.

  1. #1
    Am i going to run into problems with moving servers when the current servers version of mysql is 3.23.49 and the new servers version of mysql is 5.0...

    Will i run into problems when importing the DB from the 3,23 version to the 5.0 version
     
    Meads, Dec 6, 2006 IP
  2. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #2
    yes, there are some HUGE changes, you should test it on the new version prior to moving it.

    It's quite possible you will need to restructure the database in this case. Even moving from 4.x to 5.x is a big change.

    It's also quite possible that you won't run into any problems at all. We use complex database structures and we had to convert our db when upgrading versions. You might experience same or different results. Just test it out locally first.
     
    fsmedia, Dec 6, 2006 IP
  3. Meads

    Meads Well-Known Member

    Messages:
    547
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    123
    #3
    How would i go about restructureing?
     
    Meads, Dec 6, 2006 IP
  4. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #4
    fsmedia, Dec 6, 2006 IP
  5. Meads

    Meads Well-Known Member

    Messages:
    547
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    123
    #5
    Meads, Dec 6, 2006 IP
  6. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #6
    You should try just testing it on MySQL 5.x to see if it works and if it doesn't, you should hire someone to convert it.
     
    fsmedia, Dec 6, 2006 IP
  7. Meads

    Meads Well-Known Member

    Messages:
    547
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    123
    #7
    For those of you in the same situation as i was or are just even interested this worked fine without any problems. :D
     
    Meads, Dec 6, 2006 IP
  8. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #8
    Glad it worked :)

    Others won't always have the same results, but I'm glad you had good results.
     
    fsmedia, Dec 6, 2006 IP
  9. Meads

    Meads Well-Known Member

    Messages:
    547
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    123
    #9
    Wasnt good to start with, the Invision Power Board backup tool doubled the DB into one file so it was mentioning duplicate entries and messed up. Found a nifty little tool called AutoMysqlBackup, i backed the DB up from the Linux CLI using AutoMysqlBackup which made the .sql file outputted smaller 149Mb compared to 251Mb using the IPB backup tool. Worked second time around :)
     
    Meads, Dec 6, 2006 IP
  10. unispace

    unispace Peon

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    fsmedia, can I ask how you did the conversion, any tools. I recently ran a massive server update due to some servers crashing and didn't have time to check mysql version before hand.

    Anyways, now I have a about 1 too many hosting accounts to tie me over until I have time to do the db conversion.
     
    unispace, Dec 6, 2006 IP