had to do a clean installation last night because I broke EOS playing around. Today I went to install my LAMP stack for website testing but mariadb comes back with a failure to start issue. I have reinstalled numerous times with the same result. Before I did the reinstall it was working fine. below is my journal log for the error. When I try to uninstall mariadb pacman comes back with βno target foundβ
edward@Dragon ~]$ journalctl -xeu mariadb.service
May 23 09:00:42 Dragon mariadbd[2589]: 2022-05-23 9:00:42 0 [Note] Server socket created on IP: '0.0.0.0'.
May 23 09:00:42 Dragon mariadbd[2589]: 2022-05-23 9:00:42 0 [Note] Server socket created on IP: '::'.
May 23 09:00:42 Dragon mariadbd[2589]: 2022-05-23 9:00:42 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.db' doesn't exist
May 23 09:00:42 Dragon mariadbd[2589]: 2022-05-23 9:00:42 0 [ERROR] Aborting
May 23 09:00:44 Dragon mariadbd[2589]: Warning: Memory not freed: 280
May 23 09:00:44 Dragon systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
ββ Subject: Unit process exited
ββ Defined-By: systemd
ββ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
ββ
ββ An ExecStart= process belonging to unit mariadb.service has exited.
ββ
ββ The process' exit code is 'exited' and its exit status is 1.
May 23 09:00:44 Dragon systemd[1]: mariadb.service: Failed with result 'exit-code'.
ββ Subject: Unit failed
ββ Defined-By: systemd
ββ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
ββ
ββ The unit mariadb.service has entered the 'failed' state with result 'exit-code'.
May 23 09:00:44 Dragon systemd[1]: Failed to start MariaDB 10.7.3 database server.
ββ Subject: A start job for unit mariadb.service has failed
ββ Defined-By: systemd
ββ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
ββ
ββ A start job for unit mariadb.service has finished with a failure.
ββ
ββ The job identifier is 1335 and the job result is failed.
Can anyone help with this problem?