ubuntu16.04安装mysql5.6

1、先删除数据库

先根据Ubuntu16.04彻底删除MySQL数据库彻底删除数据库

2、进行安装

apt-get install software-properties-common
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty universe'
sudo apt-get update
sudo apt install mysql-server-5.6
sudo apt install mysql-client-5.6
03-05 22:14