1.添加 MySQL APT 仓库
?1.1 下载apt仓库配置文件mysql-apt-config-ubuntu14.04.zip,解压
1.2 将下面"/PATH/platform-and-version-specific-package-name" 部分替换为你系统的路径
sudo dpkg -i /PATH/platform-and-version-specific-package-name
.deb
1.3 During the installation of the package, you will be asked to choose the versions of the MySQL server and? other components (for example, the MySQL Workbench) that you want to install. If you are not sure which version to choose, do not change the default options selected for you. You can also choose none if you do not want a particular component to be installed. After making the choices for all components, choose Apply to finish the configuration and installation of the release package.
1.4
shell> sudo apt-get update
2.
sudo apt-get install mysql-server