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.

Reinstall Included MySQL 5.5? Help!

Discussion in 'Database Discussions' 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:
    212
    Likes Received:
    3
    Trophy Points:
    18
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...
Similar Threads - Reinstall Included MySQL
  1. mahdy_sharifi
    Replies:
    3
    Views:
    916

Share This Page