Failed to start mysql.service: Unit mysql.service not found.

如果启动时出错:Failed to start mysql.service: Unit mysql.service is masked

原因可能是之前使用apt-get 安装过mysql,服务被标记过,解除后即可启动:

systemctl unmask mysql.service

猜你喜欢

转载自blog.csdn.net/weixin_43297727/article/details/115386986