點擊MySQL APT Repository
下載(mysql-apt-config_0.8.24-1_all.deb),切換到當前文件夾輸入命令sudo dpkg -i mysql-apt-config_0.8.24-1_all.deb后在/etc/apt/sources.list.d產生mysql.list文件,如下:
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb http://repo.mysql.com/apt/debian/ buster mysql-apt-config
deb http://repo.mysql.com/apt/debian/ buster mysql-8.0
deb http://repo.mysql.com/apt/debian/ buster mysql-tools
#deb http://repo.mysql.com/apt/debian/ buster mysql-tools-preview
deb-src http://repo.mysql.com/apt/debian/ buster mysql-8.0
執(zhí)行sudo apt update,sudo apt upgrade,sudo apt install mysql-community-server
聯(lián)系客服