I need to install mysql 5.7 on Ubuntu 22.04. I followed the following steps :
- wget https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb
- sudo dpkg -i mysql-apt-config_0.8.12-1_all.deb
- Selected the option MySQL Server and Cluster mysql-5.7 -> ok.
- sudo apt-get update
The following error comes :
Err:1 http://repo.mysql.com/apt/debian jessie InRelease
The following signatures were invalid: EXPKEYSIG 8C718D3B5072E1F5 MySQL Release Engineering <mysql-build@oss.oracle.com>
E: The repository 'http://repo.mysql.com/apt/debian jessie InRelease' is not signed.
And after running the command : "apt-cache policy mysql-server" , the list does not include 5.7
Tried to run the following commands to get the key :
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8C718D3B5072E1F5
Checked the command : sudo apt-key list It shows the mysql key is expired. Tried deleting again getting the key , but no gains
Tried the following keystores, but again no gains :
hkp://pgp.mit.edu:80
hkps://pgp.mit.edu
hkps://keyserver.ubuntu.com
hkp://p80.pool.sks-keyservers.net:80
Tried the following links : https://askubuntu.com/questions/1120363/mysql-ppa-invalid-signature/1141364#1141364
https://stackoverflow.com/questions/73250312/how-can-i-install-mysql-5-7-on-ubuntu-22-04-lts
Kindly help
Regards Anuradha