I'm raspberry pie 4B. I brush it as Ubuntu server 20.04 LTS
I try to search mysql5.7 with the following command
sudo apt-cache policy mysql-server
It gives me:
mysql-server:
Installed: (none)
Candidate: 8.0.23-0ubuntu0.20.04.1
Version table:
8.0.23-0ubuntu0.20.04.1 500
500 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages
500 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages
8.0.19-0ubuntu5 500
500 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 Packages
and I try downloaded the last version of MySql 5.6 that is available for Debian (and Ubuntu also)
wget https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-server_5.6.48-1debian9_amd64.deb-bundle.tar
dpkg -i mysql-server_5.6.48-1debian9_amd64.deb-bundle.tar
mysql apt update
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty universe'
sudo apt-get update
apt-get install mysql-common-5.6 mysql-client-5.6 mysql-server-5.6
giver me:
dpkg: error processing archive libmysqlclient-dev_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive libmysqlclient18_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive libmysqld-dev_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive mysql-client_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive mysql-common_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive mysql-community-bench_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive mysql-community-client_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive mysql-community-server_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive mysql-community-source_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive mysql-community-test_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive mysql-server_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
dpkg: error processing archive mysql-testsuite_5.6.48-1debian9_amd64.deb (--install):
package architecture (amd64) does not match system (arm64)
Errors were encountered while processing:
libmysqlclient-dev_5.6.48-1debian9_amd64.deb
libmysqlclient18_5.6.48-1debian9_amd64.deb
libmysqld-dev_5.6.48-1debian9_amd64.deb
mysql-client_5.6.48-1debian9_amd64.deb
mysql-common_5.6.48-1debian9_amd64.deb
mysql-community-bench_5.6.48-1debian9_amd64.deb
mysql-community-client_5.6.48-1debian9_amd64.deb
mysql-community-server_5.6.48-1debian9_amd64.deb
mysql-community-source_5.6.48-1debian9_amd64.deb
mysql-community-test_5.6.48-1debian9_amd64.deb
mysql-server_5.6.48-1debian9_amd64.deb
mysql-testsuite_5.6.48-1debian9_amd64.deb