今天想在自己的虚拟机上安装mysql,安装好了并且初始化之后,一直无法启动mysql.

1.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 ....

 

解决方式:

systemctl unmask mysql.service
service mysql start

注意:操作系统是suse12 sp2,可能会有版本差别。

相关文章:

  • 2022-12-23
  • 2021-09-06
猜你喜欢
  • 2021-06-30
  • 2021-10-19
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
相关资源
相似解决方案