Failed to start mysqld.service: Unit not found

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Failed to start mysqld.service: Unit not found相关的知识,希望对你有一定的参考价值。

虚拟机centos7.5,rpm安装mysql5.6.42 启动出现Failed to start mysqld.service: Unit not found. 看网上讲要安装mariadb-server,可是安装的时候报依赖包的错误,另外在安装mysql之前还说要卸载mariadb-libs否则会出现安装冲突,而出现Unit not found网友又说要安装mariadb-server,而安装mariadb-server的时候mariadb-libs会被作为依赖包自动安装,不清楚这个逻辑了,请教各位大神我怎样才能安装上mysql?

参考技术A mysql_install_db --datadir="/var/lib/mysql" --user="mysql" 搞定。

以上是关于Failed to start mysqld.service: Unit not found的主要内容,如果未能解决你的问题,请参考以下文章

启动项目报错——A child container failed during start——解决Failed to start component [StandardEngine[Catalina]

CentOS 7 防火墙 出现Failed to start iptables.service: Unit iptables.service failed to load

zookeeper启动时Starting zookeeper ... FAILED TO START问题处理

service docker start 报错 :Failed to start docker.se

The required Server component failed to start so Tomcat is unable to start解决之一

Keystone, Start, Failed to Load Bson