Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    May 2004
    Location
    UK
    Posts
    25

    Default Upgrade MySQL 4.0 to MySQL 4.1

    I am currently running MySQL 4.0 and for a while now I've been thinking about upgrading to MySQL 4.1. If I upgrade to MySQL 4.1, will it break any of the scripts/databases that I currently have on my server? Any issues that I should be aware of? What are the benefits of MySQL 4.1 over 4.0? Is it even worth upgrading?


    Thanks,

    Steve

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    You should take a backup of all existing databases before upgrading in case you need to downgrade to 4.0.

    The databases are stored in /var/lib/mysql - just copy the entire directory and it's contents to somewhere safe.

    It is also advisable to dump the data to .sql files so that all tables and their contents can be imported into the new 4.1 databases in case the 4.1 databases have problems.

    You should also check "Use old style (4.0) passwords with mySQL 4.1 (required if you have problems with php apps authenticating)" in WHM > Tweak Settings after you have upgraded just to be on the safe side.

    4.0 -> 4.1 is not automatically reversible. As long as you have good backups before you start you can at least revert to how things were if any major problems are encountered.

    To be honest, I haven't risked it yet myself!

  3. #3
    Member
    Join Date
    Mar 2006
    Posts
    378

    Default

    we see bad things happen for scripts / application on some client servers which does not have the backup made. There are major changes on the MySQL 4.0 to MySQL 4.1 and if some of your application sql query is written that is incompatible to run in MySQL 4.1, you will see lots of problems. Follow snet suggestion to backup a copy of your MySQL database before proceed for any upgrade.
    Tweakservers | Professional Server Setup & Security Hardening
    Authorised SmarterTools Reseller, SSL Certificate & TRUSTe Privacy Policy

  4. #4
    Member
    Join Date
    Jan 2005
    Posts
    139

    Default

    I did the upgrade, everything is working fine and no complaints or issues –

    BUT now I get a warning about having 4.0.x although I have 4.1.19 ??

  5. #5
    Member
    Join Date
    Jan 2004
    Location
    Roswell, GA
    Posts
    363

    Default

    Quote Originally Posted by kistler
    BUT now I get a warning about having 4.0.x although I have 4.1.19 ??
    It's not saying that YOU are using 4.0.x, it's just a general warning that is being displayed throughout everybody's WHM, no need to worry.
    Number1Host.net
    Shared, Reseller, and Dedicated Hosting
    Server Setup, Management, and Security
    The Web's Number 1 Host - Number1Host.net

  6. #6
    Member
    Join Date
    Jan 2005
    Posts
    139

    Default

    i am kinda guessing that, just takes up so much room and i dont need to read it lol

  7. #7
    RKF
    RKF is offline
    Member
    Join Date
    Jul 2003
    Posts
    8

    Default

    Some older scripts would need updating for compatibility, if for example the authors used MYSQL reserved words for their aliases that worked on 4.0 but not 4.1.

    If people have home-baked scripts on their systems or old versions of publically available ones, you'd either have to audit the accounts and wait months for everyone to catch up, or just do it and see who screams.

Similar Threads & Tags
Similar threads

  1. Upgrade to latest STABLE cPanel Erroring/Stopping on MySQL Upgrade
    By rvelton in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-18-2010, 09:14 AM
  2. Replies: 13
    Last Post: 06-15-2010, 04:31 PM
  3. Replies: 0
    Last Post: 10-26-2009, 09:06 AM
  4. upgrade mysql 4 to mysql 5
    By arkain in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-28-2007, 01:22 AM
  5. MySQL 3.23.53a Upgrade in latest WHM upgrade?
    By jsteel in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-19-2002, 03:11 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube