-
Notifications
You must be signed in to change notification settings - Fork 3
How To Install MySQL 8.0
specer edited this page Dec 15, 2021
·
1 revision
# download the APT config package form official web site
wget https://dev.mysql.com/get/mysql-apt-config_0.8.14-1_all.deb
# install the APT package, just select `OK` to continue
sudo dpkg -i mysql-apt-config_0.8.14-1_all.deb
# update source and install MySQL server. set init password, select `OK`, choose the default password encryption ...
sudo apt-get update && apt-get install mysql-server
# check the version
mysql --version
# this will print as below if everything goes well
# mysql Ver 8.0.27 for Linux on x86_64 (MySQL Community Server - GPL)