Ubuntu UPGRADE sql 5.7 TO 8.1 error repository GPG key
Inviato: lun dic 23, 2019 11:34 pm
How to Upgrade?
First, add the MySQL APT repository to your system's software repository list. The details in docs are a little abstract , i'll give a example:
Then you'll get this
press Enter when you choose mysql server ,then select mysql 8.0.Finally choose like this:
enter image description here Once the repo has been added, update apt index and install mysql-server:
ATTENTION:if here returns error about GPG key repository like this:
you must type:
where [KEY] is the number
then try again
and finally
Now if you don't get any error messages, you have already upgraded successfully. You can confirm by:
You will get output like this:
First, add the MySQL APT repository to your system's software repository list. The details in docs are a little abstract , i'll give a example:
Codice: Seleziona tutto
wget https://repo.mysql.com//mysql-apt-config_0.8.10-1_all.deb
Codice: Seleziona tutto
sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb
enter image description here Once the repo has been added, update apt index and install mysql-server:
Codice: Seleziona tutto
sudo apt-get update
Codice: Seleziona tutto
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys [KEY]
Codice: Seleziona tutto
sudo apt-get update
Codice: Seleziona tutto
sudo apt-get install mysql-server
Codice: Seleziona tutto
apt policy mysql-server