【发布时间】:2018-10-05 10:04:45
【问题描述】:
当我输入命令时:
systemctl start mysql 在CentOS7 中,我收到以下消息:
Failed to start mysql.service: Unit not found
感谢您的帮助。
【问题讨论】:
-
同样的错误,你有解决办法吗
当我输入命令时:
systemctl start mysql 在CentOS7 中,我收到以下消息:
Failed to start mysql.service: Unit not found
感谢您的帮助。
【问题讨论】:
使用命令service mysqld start。
可以在centos7 for mysql8.0下运行
【讨论】:
【讨论】:
我使用
解决了这个问题1. I uninstalled the mariadb maridb-server packages
2. I removed the directory /var/lib/mysql. ( mv /var/lib/mysql /mysqlbak)
3 Reinstalled the Mariadb, Mariadb-server packages.
4. systemct start mariadb; systemctl enable mariadb (problem solved).
【讨论】: