The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Urgent help reqd Downgrading from MySQL5 to MySQL4

Discussion in 'General Discussion' started by mydomain, May 27, 2006.

  1. mydomain

    mydomain Well-Known Member

    Joined:
    Aug 10, 2003
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    Had too many issues after upgrading to mySQL5 and now need to revert back to mySQL4.

    Please could anyone confirm the best way to do this, any help greatly appreciated. The server contains a lot of sites, it is not a new server.

    TIA
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Did you upgrade MySQL manualy, or through the WHM? There is an option in the WHM >> "Tweak Setting" to downgrade to v4.
     
  3. mydomain

    mydomain Well-Known Member

    Joined:
    Aug 10, 2003
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    There isnt an option to downgrade once you go up to version 5 Andy, only if you force cpanel to believe that a lower version is installed by editing /var/cpanel/cpanel.config can you then see the lower version in tweak settings

    We edited the file to show 4.1, then ran /scripts/mysqlup again to get 4.1 on there again

    After this we ran buildapache, a mysqlcheck and everything is back to 4.1 now
     
  4. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    You didn't say what version of the cPanel/WHM you're using. FYI, the option is in WHM 10.8.0 cPanel 10.8.2 E117.
     
  5. dyrer

    dyrer Active Member

    Joined:
    Jun 3, 2005
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    I have upgraded to 4.1 but now in tweak setting there isn't 4.0 anymore
     
  6. monsta

    monsta Member

    Joined:
    Jun 23, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New Orleans
    Tweak Settings

    If you want to roll back to 4.0, go into /var/cpanel/cpanel.config and put the MYSQL version to 4. This will give you three options through WHM 5.0 4.1 4.0. Then run mysqlup and you should be golden with whatever version you have defined in the /var/cpanel/cpanel.config or you can update via WHM.
     
  7. mohit

    mohit Well-Known Member

    Joined:
    Jul 12, 2005
    Messages:
    553
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sticky On Internet
    hi,
    I've a server migration pending, my old server has MYSQL 4.0.25 and new one has 4.1
    could any expert show some light will it cause any issues due to this version difference.

    see ya,
    mohit
     
  8. monsta

    monsta Member

    Joined:
    Jun 23, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New Orleans
    Migration

    What version of Apache are you running? What version of PHP are you running? What version of MYSQL are you using? What version of *nix are you using. These are all things you want to answer to yourself and research the forums before you do the update. If your unsure of what you are doing but still want to go for it, then make sure that you back up all your DBs. Good luck and post if you have any problems. With all the postings on this forum, it really helped my troubleshooting. Thanks guys and girls.
     
  9. festprint

    festprint Member

    Joined:
    Nov 3, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    See http://forums.cpanel.net/showthread.php?t=53554 that's the problem you may (or may not having) worth a look!
     
    #9 festprint, May 29, 2006
    Last edited: Oct 21, 2006
Loading...

Share This Page