Debian使用dpkg安裝MySQL的方法

說明

使用mysql 5.7,操作系統(tǒng)為64位 debian gnu/linux 8.6 (jessie)。

安裝

因apt倉庫將mysql相關(guān)的包移除,需要自己去官網(wǎng)下載之,以及相關(guān)的依賴包。
在安裝mysql-community-server時,會提示輸入MySQL的root密碼。

以下部分步驟需要root權(quán)限。

wget?https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-server_5.7.19-1debian8_amd64.deb-bundle.tar  wget?http://ftp.br.debian.org/debian/pool/main/liba/libaio/libaio1_0.3.110-1_amd64.deb  wget?http://ftp.br.debian.org/debian/pool/main/m/mecab/libmecab2_0.996-1.1_amd64.deb  wget?http://ftp.br.debian.org/debian/pool/main/n/numactl/libnuma1_2.0.10-1_amd64.deb  dpkg?-i?libaio1_0.3.110-1_amd64.deb  dpkg?-i?libmecab2_0.996-1.1_amd64.deb  dpkg?-i?libnuma1_2.0.10-1_amd64.deb  mkdir?mysql_5.7  tar?-xv?-C?mysql_5.7?-f?mysql-server_5.7.19-1debian8_amd64.deb-bundle.tar  cd?mysql_5.7  dpkg?-i?mysql-common_5.7.19-1debian8_amd64.deb  dpkg?-i?mysql-community-client_5.7.19-1debian8_amd64.deb  dpkg?-i?mysql-client_5.7.19-1debian8_amd64.deb  dpkg?-i?mysql-community-server_5.7.19-1debian8_amd64.deb

? 版權(quán)聲明
THE END
喜歡就支持一下吧
點(diǎn)贊8 分享