systemctl status mariadb.service 失败了 directory /var/lib/mysql is not empty

pyboy58 发布于 2019/10/18 19:36
阅读 2K+
收藏 0

NGINX Sprint China 2022--NGINX年度旗舰盛会,已开启免费预约!>>>

systemctl status mariadb.service
● mariadb.service - MariaDB database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2019-10-18 19:33:45 CST; 31s ago

Oct 18 19:33:44 k8s133-master systemd[1]: Starting MariaDB database server...
Oct 18 19:33:45 k8s133-master mariadb-prepare-db-dir[4167]: Database MariaDB is not initialized, but the directory /var/lib/mysql is not empty, so initializatio... be done.
Oct 18 19:33:45 k8s133-master mariadb-prepare-db-dir[4167]: Make sure the /var/lib/mysql is empty before running mariadb-prepare-db-dir.
Oct 18 19:33:45 k8s133-master systemd[1]: mariadb.service: control process exited, code=exited status=1
Oct 18 19:33:45 k8s133-master systemd[1]: Failed to start MariaDB database server.
Oct 18 19:33:45 k8s133-master systemd[1]: Unit mariadb.service entered failed state.
Oct 18 19:33:45 k8s133-master systemd[1]: mariadb.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
 

加载中
0
gammey
gammey
该评论暂时无法显示,详情咨询 QQ 群:点此入群
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部