在fedora中重新安装后无法启动mariadb

时间:2019-05-06 12:30:20

标签: mariadb fedora-29

我也提供了日志

我有systemctl启动MariaDB。

mariadbLog:

May 06 17:48:59 SF1-HOST-1 systemd[1]: Starting MariaDB 10.3 database server...
May 06 17:48:59 SF1-HOST-1 mysql-prepare-db-dir[7533]: Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
May 06 17:48:59 SF1-HOST-1 mysql-prepare-db-dir[7533]: If this is not the case, make sure the /var/lib/mysql is empty before running mysql-prepare-db-dir.
May 06 17:48:59 SF1-HOST-1 mysqld[7570]: 2019-05-06 17:48:59 0 [Note] /usr/libexec/mysqld (mysqld 10.3.12-MariaDB) starting as process 7570 ...
May 06 17:48:59 SF1-HOST-1 mysqld[7570]: /usr/libexec/mysqld: Please consult the Knowledge Base to find out how to run mysqld as root!
May 06 17:48:59 SF1-HOST-1 mysqld[7570]: 2019-05-06 17:48:59 0 [ERROR] Aborting
May 06 17:48:59 SF1-HOST-1 systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
May 06 17:48:59 SF1-HOST-1 systemd[1]: mariadb.service: Failed with result 'exit-code'.
May 06 17:48:59 SF1-HOST-1 systemd[1]: Failed to start MariaDB 10.3 database server.

0 个答案:

没有答案