Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Reinstall Included MySQL 5.5? Help!

Discussion in 'Database Discussion' started by SUGamingNetwork, Nov 17, 2013.

  1. SUGamingNetwork

    SUGamingNetwork Registered

    Joined:
    Oct 1, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I know you don't support MySQL Downgrades.
    However, I just reinstalled WHM on a server that had a Hard Drive failure. Now, i'm with MYSQL 5.5. One of the programs we use works better with 5.1.

    What to do >.>
     
  2. MikeDVB

    MikeDVB Well-Known Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    218
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Indiana, USA
    Understand I haven't tested any of this, do it at your own risk - but it should work or be very close.

    I imagine you'll want to back up your databases/dump them before doing anything just in case. [Take a backup.]

    Remove the MySQL RPMs installed by cPanel. "yum remove mysql" should do it I imagine.

    Then run this via SSH:
    /scripts/update_local_rpm_versions --edit target_settings.MySQL55 uninstalled

    You should now be able to choose the MySQL version and install it via WHM I imagine if I haven't forgotten anything.

    There will be some obvious MySQL downtime and Apache+PHP will need rebuilt.

    There may be an easier way, but this should work if I'm not missing anything.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    The steps listed in the previous post should work. However, are you positive that your scripts are not compatible with MySQL version 5.5? It may be worth looking into because at some point you will want to upgrade MySQL to the newer version.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice