
尝试开启 mysql服务,若开启不了,需要安装mariadb-server,执行一下操作:
sudo apt-get install mariadb-server
启动服务
systemctl start mariadb.service
添加到开机启动
systemctl enable mariadb.service
最后
以上就是可爱发带最近收集整理的关于Linux安装mysql遇到Unit mysql.service could not be found.的全部内容,更多相关Linux安装mysql遇到Unit内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复