Ubuntu18.04 installation MySQL8.0

1. Add warehouse

sudo wget https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.13-1_all.deb

Note: no special need to select OK when you add a warehouse like

2. Update the warehouse (important)

sudo apt update

If you still do not perform the update version 5.7 is installed by default

3. Install MySQL8.0

sudo apt install mysql-server
Published 12 original articles · won praise 1 · views 1245

Guess you like

Origin blog.csdn.net/qq_36488647/article/details/100870029