Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    19

    Default Downgrade MySQL 5.0 to 4.1.x?

    I recently updated my MySQL from 4.0.23 (Severely out of date) to 5.0, and I'm really regretting it, as it has broken quite a few things (Forums mainly).
    Is there an easy, safe way to downgrade without losing data or screwing anything up even more?

  2. #2
    Member
    Join Date
    Oct 2004
    Posts
    19

    Default

    Anyone? Please?

  3. #3
    Member
    Join Date
    May 2005
    Posts
    31

    Talking

    yes iam one

    but i need to know how to Downgrade from 4.1.xx and 5.xx to 4.0.27 again like you

    if any one replay you please tell me

    good luck

  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    I should not have to tell you to make a backup of mysql and user accounts prior to any upgrade or downgrade. If my advise was needed, Then I would highly suggest hiring someone experienced to perform this for you.

    edit the config file and change version to 4
    /var/cpanel/cpanel.config and set mysql-version=4

    Then force a mysql update
    /scripts/mysqlup --force


    You may then have to recreate accounts or some other adjustments.

    Good luck.

  5. #5
    Member
    Join Date
    May 2005
    Posts
    31

    Default

    good luck Sykoi you got the matter in the same day


    jayh38 thanks very much for your excellent help

    see you in another post

  6. #6
    Member
    Join Date
    Oct 2004
    Posts
    19

    Default

    Thanks, but will setting the version to 4 update to 4.0.27 or 4.1?

  7. #7
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    Quote Originally Posted by Sykoi
    Thanks, but will setting the version to 4 update to 4.0.27 or 4.1?
    You should get the very earliest 4.0 available.

    You can do this without initiating any changes.
    Set the version to 4 as described in the earlier post.

    Then look in the tweak settings in WHM and you will then see the available mysql versions.

    4.0, 4.1 and 5 should be the available options.

  8. #8
    Member
    Join Date
    Oct 2004
    Posts
    19

    Default

    Even though I plan on backing up, what are the chances something will go wrong, and what exactly can go wrong?

  9. #9
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    Permissions and password issues. I never ran into anything overly complicated.

  10. #10
    Member
    Join Date
    Oct 2004
    Posts
    19

    Default

    Err, I thought I had made a thread about this but I guess it got deleted....

    I downgraded from 5.0 to 4.1, but now theres a few tables that aren't working and are constantly LOCKED... How do I fix this?

  11. #11
    Member
    Join Date
    Oct 2004
    Posts
    19

    Default

    Anyone...? Kind of important

  12. #12
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    Try recreating the database from the version 5 backup. It should convert
    over nicely.

  13. #13
    Member
    Join Date
    Oct 2004
    Posts
    19

    Default

    Quote Originally Posted by jayh38
    Try recreating the database from the version 5 backup. It should convert
    over nicely.
    Errr... What version 5 backup? And also, just thought I'd mention:
    I created the db/tables in 4.0.27, upgraded to 5.0 a few weeks later, and it only started to not work when I downgraded to 4.1....
    Is there any way to get this to work, just locally upgrade this database from 4.0.27 to 4.1?


    db.table
    error : Table './db/table was created with a different version of MySQL and cannot be read

Similar Threads & Tags
Similar threads

  1. Downgrade from MySQL 5
    By starweb in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 03-12-2009, 05:22 AM
  2. How can downgrade mysql to 4.0
    By azrael in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-07-2007, 07:30 AM
  3. downgrade MySQL
    By pongtorn in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-26-2006, 12:01 AM
  4. MySQL Downgrade
    By cerberus2k in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-12-2003, 11:23 AM
  5. I can't downgrade mysql....
    By now4 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-07-2003, 12:30 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube