How i can solve this problem "systemctl start mariadb"

1.6k Views Asked by At

I am facing this error

root@localhost:~# systemctl start mariadb Job for mariadb.service failed because the control process exited with error code.

See "systemctl status mariadb.service" and "journalctl -xe" for details.

root@localhost:~# systemctl status mariadb
    ● mariadb.service - MariaDB 10.3.22 database server
         Loaded: loaded (/lib/systemd/system/mariadb.service; disabled; vendor pre>
         Active: inactive (dead)
           Docs: man:mysqld(8)
                 https://mariadb.com/kb/en/library/systemd/
1

There are 1 best solutions below

0
Marcus Adams On

use systemctl enable mariadb.service

https://unix.stackexchange.com/questions/302261/systemd-unit-activate-vs-enable

Give a good description on how to set things up