MySQL 8.0.38 does not start (segmentation fault)
After upgrading to MySQL 8.0.38, mysqld fails to start. The log at /var/log/mysqld.log shows:
mysqld got signal 11 ;Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.This is a known bug in MySQL 8.0.38 and cannot be resolved while running that version.
Downgrade MySQL
Section titled “Downgrade MySQL”On CentOS 7, AlmaLinux, Rocky Linux, or CloudLinux:
yum downgrade mysql-community-*Lock the version
Section titled “Lock the version”Since cPanel automatically updates system packages daily, you should lock the MySQL version until a fixed release is available.
Install the version lock package
Section titled “Install the version lock package”CentOS 7 / CloudLinux 7:
yum install yum-versionlockAlmaLinux 8 / Rocky Linux / CloudLinux 8:
dnf install python3-dnf-plugin-versionlockApply the version lock
Section titled “Apply the version lock”yum versionlock mysql-community-serverOnce a fixed MySQL version is released, remove the version lock so you continue to receive updates.