Skip to main content

The MySQL server is currently offline.

Comments

17 comments

  • cPRex Jurassic Moderator
    Hey there! Check out this post for much more detail on the issue:
    -1
  • WebHostPro
    Yeah we have it as well. Downgraded Maria DB and it's o.k. for now. yum downgrade MariaDB-server MariaDB-common MariaDB-shared MariaDB-client MariaDB-compat MariaDB-devel
    Then lock it up until they have a fix: yum install -y yum-plugin-versionlock && yum versionlock MariaDB-* && yum versionlock list
    0
  • Steini Petur
    Hah wish i read this forum before I posted my thread, I got the same with 10.3.26
    0
  • kincheng
    I downgrade to 10.3.24, but it shows: Error while connecting to MySQL: (XID afp3mv) The system failed to connect to the "MySQL" database "mysql" because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) Error while connecting to MySQL: (XID afp3mv) The system failed to connect to the "MySQL" database "mysql" because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) at /usr/local/cpanel/Cpanel/Mysql/Basic.pm line 437, line 1. Then, I try to restart MySQL server, it shows: Waiting for "mysql" to start """failed. Cpanel::Exception::Services::StartError Service Status undefined status from Cpanel::ServiceManager::Services::Mysql Service Error (XID r4rgeq) The "mysql" service failed to start. Startup Log Nov 05 16:24:04 whmhost.conceptsquares.com systemd[1]: Starting MariaDB 10.3.24 database server... Nov 05 16:24:04 whmhost.conceptsquares.com mysqld[3175]: 2020-11-05 16:24:04 0 [Note] /usr/sbin/mysqld (mysqld 10.3.24-MariaDB) starting as process 3175 ... Nov 05 16:24:05 whmhost.conceptsquares.com systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE Nov 05 16:24:05 whmhost.conceptsquares.com systemd[1]: Failed to start MariaDB 10.3.24 database server. Nov 05 16:24:05 whmhost.conceptsquares.com systemd[1]: Unit mariadb.service entered failed state. Nov 05 16:24:05 whmhost.conceptsquares.com systemd[1]: mariadb.service failed. mysql has failed. Contact your system administrator if the service does not automagically recover. Please help=[
    0
  • Steini Petur
    I downgrade to 10.3.24, but it shows: Error while connecting to MySQL: (XID afp3mv) The system failed to connect to the "MySQL" database "mysql" because of an error: CR_CONNECTION_ERROR (Can't connect to .......

    Have you tried the basics starting with mv /etc/my.cnf /etc/my.cnf.bak and attempt to reboot your MySQL service mysql start If that fails then maybe attempt the /scripts/upcp --force and let it set up the latest cPanel release start to finish with --force. It's just what has solved mysql issues for me int he past especially my.cnf it can be a bastard.
    0
  • MindServer
    Hey there! Check out this post for much more detail on the issue:
    0
  • cPRex Jurassic Moderator
    We've updated the workaround here:
    0
  • MindServer
    We've updated the workaround here: Updating MariaDB to v10.2.35 or v10.3.26, causes MySQL Databases interface to show MySQL as offline. How time will need for solve him?. We host client's webs and need a correct solution for not broke nothing. Thank you very much.
    0
  • cPRex Jurassic Moderator
    Did you also disable updates on the system, or at least the MariaDB updates? If so, nothing will change on the server and you can wait to perform updates until the issue is resolved.
    0
  • MindServer
    Did you also disable updates on the system, or at least the MariaDB updates? If so, nothing will change on the server and you can wait to perform updates until the issue is resolved.

    I used this command: yum downgrade MariaDB-server MariaDB-common MariaDB-shared MariaDB-client MariaDB-compat MariaDB-devel -y
    This will disable MariaDB updates? or how can I do this?. Thank you very much. Have a nice day.
    0
  • cPRex Jurassic Moderator
    That will perform the downgrade, but will not keep a future upgrade from happening. We're actually no longer recommending the downgrade process, but following the steps outlined here:
    0
  • altinsoft
    Follow.
    0
  • A Hartonian
    This is what I am getting upon downgrade No Match for available package: MariaDB-server-10.3.25-1.el7.centos.x86_64 No Match for available package: MariaDB-common-10.3.25-1.el7.centos.x86_64 No Match for available package: MariaDB-shared-10.3.25-1.el7.centos.x86_64 No Match for available package: MariaDB-client-10.3.25-1.el7.centos.x86_64 No Match for available package: MariaDB-compat-10.3.25-1.el7.centos.x86_64 No Match for available package: MariaDB-devel-10.3.25-1.el7.centos.x86_64
    0
  • cPRex Jurassic Moderator
    @A Hartonian - did your server have 10.3 installed at some point? If not, there wouldn't be a way to perform that downgrade most likely. Can you let me know what specific issues you're having?
    0
  • A Hartonian
    @A Hartonian - did your server have 10.3 installed at some point? If not, there wouldn't be a way to perform that downgrade most likely. Can you let me know what specific issues you're having?

    Used the following command from this
    0
  • cPRex Jurassic Moderator
    Nice - I'm glad that worked!
    0
  • rootbd
    From My Side, i have Fix Using Restore Old Backup in cPanel
    0

Please sign in to leave a comment.