Skip to main content

can't upgrade Mysql/MariaDB

Comments

10 comments

  • cPanelMichael
    Hello, You should be able to follow the steps below to install MariaDB if you are using MySQL Governor:
    yum install governor-mysql /usr/share/lve/dbgovernor/db-select-mysql --mysql-version=mariadb100 /usr/share/lve/dbgovernor/mysqlgovernor.py --install
    Thank you.
    0
  • stefanbc
    Hi, I figured if I want to keep the governor I have to do it manually. Will try tonight to update to 10.1 Not sure I need the governor and not sure MariaDb is better than MySql but will go with MariaDb Thank you
    0
  • cPanelMichael
    Hello, Note that for MariaDB 10.1 the command is:
    /usr/share/lve/dbgovernor/db-select-mysql --mysql-version=mariadb101
    Thank you.
    0
  • stefanbc
    well that did not go to well I think I got "mysql has failed. Please contact your system administrator if the service does not automagically recover." during the upgrade and going to "Restarting MySQL Server" from WHM says the same PhpMyAdmin reports Server: Localhost via UNIX socket Server type: MariaDB Server version: 5.5.40-MariaDB-cll-lve - MariaDB Server Protocol version: 10 User: root@localhost Server charset: UTF-8 Unicode (utf8) So I don't think it worked but sites still work as expected. Not sure what to say maybe someone has an idea Thank you UPDATE: I'm confused. I ran mysqladmin -u root -p status Enter password: Uptime: 4046 Threads: 7 Questions: 5157 Slow queries: 0 Opens: 106 Flush tables: 1 Open tables: 115 Queries per second avg: 1.274 So I guess it works, but still I don't think I am running the latest MariaDb.
    0
  • cPanelMichael
    I suggest opening a ticket with Cloud Linux if upgrading to MariaDB is not working as intended using their installation steps: Cloud Linux Support Feel free to update this thread with the outcome after contacting them. Thank you.
    0
  • stefanbc
    It worked with some help from a sys admin, not sure exactly what he did. Only thing is I have a problem with is I see this in the MySQL/MariaDB Upgrade section 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. Current step number: 4 Starting MySQL/MariaDB version: 10.1 Selected MySQL/MariaDB version: 10.0 Upgrade Type: Unattended Upgrade and 2 buttons Resume Current Upgrade & Ignore Current Upgrade I will open a ticket when I have more time
    0
  • cPanelMichael
    You shouldn't use the MySQL upgrade wizard if you are using Cloud Linux with MySQL governor. MySQL is handled through Cloud Linux, not cPanel, in such cases. Thank you.
    0
  • stefanbc
    Thank you. Will check to see if governor is still installed
    0
  • fiberit
    We try to upgrade from wizard and now mysql failed. How can we do it now ? We have the same problem. Any solution ?
    0
  • cPanelMichael
    New We try to upgrade from wizard and now mysql failed. How can we do it now ? We have the same problem. Any solution ?

    Could you provide more details? For instance, are you using Cloud Linux with MySQL Governor? What error message do you see in /var/lib/mysql/$hostname.err when MySQL fails to start? Thank you.
    0

Please sign in to leave a comment.