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!

SOLVED Re-install MySQL56-server-5.6.39-1.cp1162.x86_64?

Discussion in 'Database Discussion' started by mbay2002, May 26, 2018.

  1. mbay2002

    mbay2002 Registered

    Joined:
    May 14, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    I was trying to install postfix and had a it had wanted to install a different version of mySQL...

    I did a
    rpm -ev --nodeps MySQL56-server-5.6.39-1.cp1162.x86_64

    and postfix installed, but need to get MySQL56-server-5.6.39-1.cp1162.x86_64 back, it appears I can't connect to my database.

    Is it possible to re-install MySQL56-server-5.6.39-1.cp1162.x86_64?
     
  2. mbay2002

    mbay2002 Registered

    Joined:
    May 14, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    OK, solved it... removed postfix and the version of mySQL that it installed.
    Then went into WHM -> cPanel -> upgrade to latest version (checked force install).

    I got the cPanel version of mySQl back. Had to manually change passwords and add users and permissions as needed...I hadn't backed up any databases but looks like I got lucky because they were saved in /var/lib/mysql/mysql

    I'm back in business. This thread can be closed.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,646
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm glad to see you were able to solve the issue. Thank you for sharing the outcome.
     
    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