I have a Drupal site 8.6.10 on an Ubuntu server 18.04 with MySQL 5.7.25
I want to update MySQL to version 8.0
Here are the steps I followed :
I backed up my database.
I uninstalled MySQL from my server with the commands :
$ sudo systemctl stop mysql $ sudo apt remove mysql-* $ sudo apt purge mysql-* $ sudo apt autoremove $ sudo dpkg -l | grep mysql | grep ii
I added the repository with the command :
$ wget https://repo.mysql.com//mysql-apt-config_0.8.12-1_all.deb
I installed the package with the command :
$ sudo dpkg -i mysql-apt-config_0.8.12-1_all.deb
My problem :
I install MySQL with the command :
$ sudo apt update $ sudo apt install mysql-server
When I do step 5, it installs MySQL 5.7 why does not it install version 8 ?
wget https://repo.mysql.com//mysql-apt-config_0.8.12-1_all.deb
doesn't add repository. It downloads the .deb package which is then installed usingdpkg -i
cat /etc/apt/sources.list.d/mysql.list
?