Ubuntu14.04手动安装mysql5.7以上版本
1、下载安装包
选择系统版本Ubuntu14.04后缀名为deb_bundle.tar的进行下载
Ubuntu Linux 14.04 (x86, 64-bit), DEB Bundle MySQL Server 5.7.x 237.6M(此处x即为mysql的最新版)
本文以mysql5.7.10为示例
(文件名为:mysql-server_5.7.10-1ubuntu14.04_amd64.deb-bundle.tar)
2、解压
放在 /usr/local/src 下解压:
1)、利用mv命令将安装包移动至目标路径:
mv /home/"当前登陆的用户名"/"安装包的下载路径"/mysql-server_5.7.10-1ubuntu14.04_amd64.deb-bundle.tar /usr/local/src(引号中的路径请自行修改)
2)、cd到目标路径:
3)、赋予权限:
sudo chmod +x mysql-server_5.7.10-1ubuntu14.04_amd64.deb-bundle.tar
4)、解压:
libmysqlclient-dev_5.7.10-1ubuntu14.04_amd64.deb
libmysqld-dev_5.7.10-1ubuntu14.04_amd64.deb
mysql-client_5.7.10-1ubuntu14.04_amd64.deb
mysql-common_5.7.10-1ubuntu14.04_amd64.deb
mysql-community-client_5.7.10-1ubuntu14.04_amd64.deb
mysql-community-server_5.7.10-1ubuntu14.04_amd64.deb
mysql-community-source_5.7.10-1ubuntu14.04_amd64.deb
mysql-community-test_5.7.10-1ubuntu14.04_amd64.deb
mysql-server_5.7.10-1ubuntu14.04_amd64.deb
mysql-testsuite_5.7.10-1ubuntu14.04_amd64.deb
mysql-community_5.7.10-1ubuntu14.04_amd64.changes