Linux 在 Ubuntu16.04 上安装 MySQL5.7

SinDynasty · January 23, 2018 · 1370 hits

wget https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-server_5.7.20-1ubuntu16.04_amd64.deb-bundle.tar

tar -xvf mysql-server_5.7.20-1ubuntu16.04_amd64.deb-bundle.tar

sudo apt-get update

sudo apt-get upgrade

apt-get install libaio1

sudo dpkg -i mysql-common_5.7.20-1ubuntu16.04_amd64.deb

sudo dpkg -i libmysqlclient20_5.7.20-1ubuntu16.04_amd64.deb

sudo dpkg -i libmysqlclient-dev_5.7.20-1ubuntu16.04_amd64.deb

sudo dpkg -i libmysqld-dev_5.7.20-1ubuntu16.04_amd64.deb

sudo dpkg -i mysql-community-source_5.7.20-1ubuntu16.04_amd64.deb

sudo dpkg -i mysql-community-client_5.7.20-1ubuntu16.04_amd64.deb

sudo dpkg -i mysql-client_5.7.20-1ubuntu16.04_amd64.deb

sudo apt-get -f install

sudo apt-get -f install libmecab2

sudo dpkg -i mysql-community-server_5.7.20-1ubuntu16.04_amd64.deb

sudo dpkg -i mysql-server_5.7.20-1ubuntu16.04_amd64.deb

No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up