Mysql 8.0 breakdown

Mysql 8.0 was not started on cpanel all of sudden without issue

After googling the issue was found to be with MySQL 8.0.38 release

Run the below 3 commands

yum downgrade mysql-community-* # to downgrade mysql to previous version

/scripts/restartsrv_mysql # Restart mysql

dnf install python3-dnf-plugin-versionlock #install version lock on amla linux

yum versionlock mysql* #lock the mysql version so cpanel wont overwrite it

Mysql should be up and online and version lock will stop cpanel overwritting it on nightly updates until lock is removed