I’m facing an issue while trying to start my MySQL service on a CentOS v7.9.2009 STANDARD.
When i run on the terminal the following command:
systemctl start mysqld
It shows the following error:
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
When i run systemctl status mysqld.service
it displays the following:
enter image description here
When i run journalctl -u mysqld -xe
it displays the following:
enter image description here
My /etc/my.cnf looks like this:
enter image description here
When running df -h
it shows:
enter image description here
I tried stopping the mysqld with systemctl stop mysqld
and then using the “systemctl start mysqld” to run it again and it didnt fix the issue.
I tried updating permissions using:
chown -R mysql:mysql /var/lib/mysql chmod -R 750 /var/lib/mysql
But it didnt fix it either
I appreciate anyone who can find out what the error could be. Thanks
iandc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.