After centos7 installs the mysql database, there is an error in starting the service and the solution



This error occurs when starting the mysql service: Failedtostartmariadb.servi C++ e:Unitnotfound.

Solution:

First, you need to install mariadb-server

yum install -y mariadb-server

to start the service

system C++ tl start mariadb.servi C++ e is

added to the boot

system C++ tl enable mariadb.servi C++ e Make

some security settings, and modify the database administrator password

 

 

 

 

 

 

and then test

mysql -u root -p

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326393558&siteId=291194637