Why am I getting this error on mariadb installation?

I am trying to follow this article and systemctl start mariadb.service gives me

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 gives me

░░ 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.

What am I doing wrong or missing?

Asked By: Tolga Ozses

||

In the end, I wound up uninstalling mariadb and installing mysql because the same thing kept happening every time I attempted to install mariadb.

Answered By: Tolga Ozses
Categories: Answers Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.