What to do if MariaDB fails to start in CentOS

angryTom
Release: 2020-03-20 13:24:49
Original
3884 people have browsed it

What to do if MariaDB fails to start in CentOS

What to do if MariaDB fails to start in CentOS

During the installation of the lamp server, the service startup failure occurs after installing the MariaDB database. The solution : Uninstall and then install!

1. Uninstall the database:

[root@localhost logs]# yum -y remove mari*
Copy after login

2. Delete the database file:

[root@localhost logs]# rm -rf /var/lib/mysql/*
Copy after login

3. Install the database (using remi source):

yum –enablerepo=remi install mariadb mariadb-server
Copy after login

Recommended learning :CentOS usage tutorial

The above is the detailed content of What to do if MariaDB fails to start in CentOS. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!