云服务器ubuntu系统安装mysql失败怎么办 | 您所在的位置:网站首页 › 介绍一款软件产品 › 云服务器ubuntu系统安装mysql失败怎么办 |
0
分享至
用微信扫码二维码 分享至好友和朋友圈 ubuntu安装mysql失败的解决方法 原因:可能是原有的MySQL还有卸载残余 解决方法: 1.首先,在ubuntu命令行中执行以下命令对原生的MySQL残余进行清理: sudo rm /var/lib/mysql/ -Rsudo rm /etc/mysql/ -Rsudo apt-get autoremove mysql* --purgesudo apt-get remove apparmorsudo apt-get install mysql-server mysql-common 2.确认MySQL残余清理干净后,执行以下命令重新安装MySQL即可。 sudo apt-get install mysql-server 特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。 Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services. /阅读下一篇/ 返回网易首页 下载网易新闻客户端 |
CopyRight 2018-2019 实验室设备网 版权所有 |