Ubuntu 14.04安装MySQL5.7.14
以下默认root账户,sudo可以省略
1.下载集成包bundle
http://dev.mysql.com/downloads/file/?id=464486
http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-server_5.7.14-1ubuntu14.04_amd64.deb-bundle.tar
2.解压
mkdir mysql
copy deb to mysql
tar xf mysql-server_5.7.14-1ubuntu14.04_amd64.deb-bundle.tar
root@py-server:/server/mysql# ll
总用量 515744
drwxr-xr-x 2 root root 4096 8月 1 09:10 ./
drwxr-xr-x 8 root root 4096 8月 1 09:10 ../
-rw-r--r-- 1 7155 31415 827408 7月 12 19:46 libmysqlclient20_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 1171060 7月 12 19:44 libmysqlclient-dev_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 16892310 7月 12 19:45 libmysqld-dev_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 12658 7月 12 19:47 mysql-client_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 79820 7月 12 19:47 mysql-common_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 6823 7月 12 19:44 mysql-community_5.7.14-1ubuntu14.04_amd64.changes
-rw-r--r-- 1 7155 31415 7606214 7月 12 19:46 mysql-community-client_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 20324064 7月 12 19:44 mysql-community-server_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 193773508 7月 12 19:47 mysql-community-source_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 23317078 7月 12 19:46 mysql-community-test_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 12648 7月 12 19:47 mysql-server_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 root root 264048640 8月 1 09:06 mysql-server_5.7.14-1ubuntu14.04_amd64.deb-bundle.tar
-rw-r--r-- 1 7155 31415 12668 7月 12 19:44 mysql-tests
以下默认root账户,sudo可以省略
1.下载集成包bundle
http://dev.mysql.com/downloads/file/?id=464486
http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-server_5.7.14-1ubuntu14.04_amd64.deb-bundle.tar
2.解压
mkdir mysql
copy deb to mysql
tar xf mysql-server_5.7.14-1ubuntu14.04_amd64.deb-bundle.tar
root@py-server:/server/mysql# ll
总用量 515744
drwxr-xr-x 2 root root 4096 8月 1 09:10 ./
drwxr-xr-x 8 root root 4096 8月 1 09:10 ../
-rw-r--r-- 1 7155 31415 827408 7月 12 19:46 libmysqlclient20_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 1171060 7月 12 19:44 libmysqlclient-dev_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 16892310 7月 12 19:45 libmysqld-dev_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 12658 7月 12 19:47 mysql-client_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 79820 7月 12 19:47 mysql-common_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 6823 7月 12 19:44 mysql-community_5.7.14-1ubuntu14.04_amd64.changes
-rw-r--r-- 1 7155 31415 7606214 7月 12 19:46 mysql-community-client_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 20324064 7月 12 19:44 mysql-community-server_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 193773508 7月 12 19:47 mysql-community-source_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 23317078 7月 12 19:46 mysql-community-test_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 7155 31415 12648 7月 12 19:47 mysql-server_5.7.14-1ubuntu14.04_amd64.deb
-rw-r--r-- 1 root root 264048640 8月 1 09:06 mysql-server_5.7.14-1ubuntu14.04_amd64.deb-bundle.tar
-rw-r--r-- 1 7155 31415 12668 7月 12 19:44 mysql-tests