为什么我在安装 mariadb 时遇到此错误?

为什么我在安装 mariadb 时遇到此错误?

我正在尝试跟随本文systemctl start mariadb.service给我

Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xeu mariadb.service" for details.

journalctl -xeu mariadb.service给我

░░ Support: https://access.redhat.com/support
░░
░░ An ExecStart= process belonging to unit mariadb.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jul 18 09:29:53 centos-4gb-fsn1-2 systemd[1]: mariadb.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ The unit mariadb.service has entered the 'failed' state with result 'exit-code'.
Jul 18 09:29:53 centos-4gb-fsn1-2 systemd[1]: Failed to start MariaDB 11.0.2 database server.
░░ Subject: A start job for unit mariadb.service has failed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ A start job for unit mariadb.service has finished with a failure.
░░
░░ The job identifier is 2466 and the job result is failed.

我做错了什么或错过了什么?

答案1

最后,我最终卸载了 mariadb 并安装了 mysql,因为每次我尝试安装 mariadb 时都会发生同样的事情。

相关内容