由于工作需要,今天需要在suse上安装MySQL,出现了一个小问题

  1. 当把所有的rpm包都安装完了后,去service mysql start,提示如下
mysql is neither service nor target!?

2.尝试用systemctl start mysql,提示如下:

sysemctl start  mysql : Failed to star mysql.service: Unit mysql.service failed to load: No such file ....
  1. 解决方案
    运行以下命令,方可解决
systemctl unmask mysql.service
service mysql start

参考

Logo

更多推荐