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.

Updated MySQL

Discussion in 'General Discussion' started by Nessy, Jun 6, 2006.

  1. Nessy

    Nessy Member

    Joined:
    Jun 6, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I recently updated mysql to 5.0.18-standard but then some of my php scripts dont work so i wanted to put it back to version 4.4.2 but it wont let me do it through whm is there any other way to do it
     
    #1 Nessy, Jun 6, 2006
    Last edited: Jun 6, 2006
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    If you wish to downgrade Mysql to 4.x, you can do that from Tweak Settings in WHM. Sometimes upgrading from WHM will not show the lower version of Mysql in WHM. In that case you will have to edit the file /var/cpanel/cpanel.config

    But make sure you take the backup of your databases before you downgrade or you will be in trouble.

    Also the same issue has been recently discussed few times. Search the forums for more help.

    Paste any errors you receive.
     
  3. parkypoo22

    parkypoo22 Active Member

    Joined:
    Nov 9, 2005
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Did you recompile apache after your upgrade?
     
  4. Nessy

    Nessy Member

    Joined:
    Jun 6, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1

    yeah i did
     
  5. Nessy

    Nessy Member

    Joined:
    Jun 6, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hello There

    i tried to edit that file, but it was still set to 4.1.1 but in whm it is set to 5.0.18-standard. Do you have any other ideas
     
  6. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    As you say the version in your cpanel.config file is 4.1.1, have you tried /scripts/mysqlup --force ?

    If you still face the same problem, you will either have to manually downgrade Mysql to whatever version you wish to downgrade or I will suggest you to ask someone to login to your server and get it check for you.
     
Loading...

Share This Page