lijiawnen 2020-04-14
service mysqld start
或者/bin/systemctl start mysqld.service
service mysqld status
或者/bin/systemctl status mysqld.service
service mysqld stop
或者/bin/systemctl stop mysqld.service
service mysqld restart
或者/bin/systemctl restart mysqld.service
service mariadb start
或者/bin/systemctl start mariadb.service
service mariadb status
或者/bin/systemctl status mariadb.service
service mariadb stop
或者/bin/systemctl stop mariadb.service
service mariadb restart
或者/bin/systemctl restart mariadb.service
??这种情况一般会在mariadb环境中用service mysqld restart
命令启动数据库而出现。
解决方案:我们只需要在mariadb数据库环境中使用service mariadb restar
命令启动数据库即可。