Skip to main content

Systemd failed to start the service “mysqld”

Comments

11 comments

  • Jim Groom

    If you're on CentOS/AlmaLinux/Rocky/some other yum based distro, you can try a yum undo or a yum downgrade as mentioned here.

    https://support.cpanel.net/hc/en-us/community/posts/24546812407575-Mysql-cannot-start

    But if you're on Ubuntu, I'm not sure. Still working through a way to downgrade myself. In the meantime, I've run the following on all of my our servers so this update (hopefully) doesn't impact them.

    apt-mark hold mysql-community-client && apt-mark hold mysql-community-client-core && apt-mark hold libmysqlclient-dev && apt-mark hold libmysqlclient21 && apt-mark hold mysql-community-client-plugins && apt-mark hold mysql-community-server-core && apt-mark hold mysql-community-server && apt-mark hold mysql-client && apt-mark hold mysql-common && apt-mark hold mysql-shell
    1
  • Tryfonas Tryfonopoulos

    I am on cloudlinux and i downgraded like this

    yum downgrade mysql-community-*

    This was from a cpanel update, almost wiped my entire database in order to try and fix it because there was no info at the time. I thought it was only me that i had the problem

    1
  • amin alnasra

    I faced the same issue 

    to prevent this issue I locked the mysql version by this command on almalinux 

    dnf install python3-dnf-plugin-versionlock
    yum versionlock mysql-community-*
    0
  • LvH

    Tryfonas Tryfonopoulos
    You and me both brother. I also removed the entire datadir, which magically fixed the issue but is going to cause *a lot* of work to restore all databases. Like you, I couldn't find info about this particular error anywhere and seeing how removing all data lead to a solution I just assumed something in the datadir got corrupted upgrading from 5.7 to 8.0 (which I was doing just as this bug apparently got introduced. :| Adding insult to injury.) and started terminating/restoring accounts on a blank mySQL server. 

    0
  • BlueSteam

    Im sitting with the exact same issue this morning!  On Almalinux....What am I to do??

    0
  • danitheman

    Fixed for me as well. So many work hours wasted early morning trying to debug this...

    0
  • Cloudlinux/Cpanel User

    Why is there no fix for this  - why do WE have to do a manual fix ?????

    0
  • sumi21kav

    Hi,

    i`m trying to downgrade but is not working.
    We did downgrade yesterday but did not put lock and today we face the same issue but we cant downgrade.
    Any HELP PLEASE!


    [root@warp ~]# yum downgrade mysql-community-*
    This system is receiving updates from CloudLinux Network server.
    Last metadata expiration check: 1:07:57 ago on Tue 02 Jul 2024 09:35:47 PM CEST.
    No package mysql-community-* available.
    Error: No packages marked for downgrade.

    0
  • Cloudlinux/Cpanel User

    Hi, what is the output for:

    mysql - V

     

     

    0

Please sign in to leave a comment.