ubuntu16.04.1下 mysql安装和卸载图文教程
删除 MySQL sudo apt-get autoremove --purge mysql-server-* sudo apt-get remove mysql-server sudo apt-get autoremove mysql-server sudo apt-get remove mysql-common 清理残留数据 dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P 安装mysql 安装服务: 安装客户端: 安装完成后,MySQL 服务器一般会自动启动。 配置 MySQL 的管理员密码: sudo mysqla