Skip to main content

Partially botched MySQL 5.6 -> 5.7 update

Comments

10 comments

  • User Avatar
    cPanelLauren
    Hi @AndyB78 What's listed for MySQL in the cPanel config file? grep mysql-version /var/cpanel/cpanel.config
    0
  • User Avatar
    AndyB78
    Hi, Well, it's the old version: root [~]# grep mysql-version /var/cpanel/cpanel.config mysql-version=5.6 This is a bit unexpected because when I go to a user's cPanel -> Server Information for instance, it gives me the new version: MySQL Version 5.7.25 Thanks!
    0
  • User Avatar
    cPanelLauren
    Hi @AndyB78 That's actually what I expected to see in this instance. You're definitely running the updated version but cPanel isn't seeing that internally and it's looking for the RPM's for the older version. If you change the value manually here do you continue to get the missing packages notification on update?
    0
  • User Avatar
    AndyB78
    Hi, Yes, you were right. If I manually set mysql version in cpanel.config I no longer get the check_cpanel_rpms error. But I still get the MySQL/MariaDB Upgrade warning. Thanks!
    0
  • User Avatar
    cPanelLauren
    Hi @AndyB78 Great, does it let you resume the previous upgrade?
    0
  • User Avatar
    AndyB78
    Hi @Lauren, Yes, it completed the upgrade and then the cPanel update to the latest release worked fine. Thanks for your help!
    0
  • User Avatar
    cPanelLauren
    Awesome! I'm so happy to hear that. Thanks for letting us know!
    0
  • User Avatar
    Amithalder
    Warning The last run of the MySQL upgrade wizard failed. If you have corrected the problems that led to this failure it is highly recommended that you resume your previous upgrade rather than beginning a new one. Upgrade Details
    Current step number: 4
    Starting MySQL/MariaDB version: 8.0
    Selected MySQL/MariaDB version: 8.0
    Upgrade Type: Unattended Upgrade
    0
  • User Avatar
    Amithalder
    Please help me to get out of this.
    0
  • User Avatar
    cPanelLauren
    Did you resolve the issues which caused it to fail?
    0

Please sign in to leave a comment.