Ubuntumysql卸载
1、卸载 mysql(注意,需要按照步骤逐一执行)
1 sudo apt-get autoremove --purge mysql-server-5.0
2 sudo apt-get remove mysql-server
3 sudo apt-get autoremove mysql-server
4 sudo apt-get remove mysql-common (非常重要)
有一些是多余的,建议还是按照顺序执行一遍
2. 清理残留的文件
dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn