In this post I’ll give to you the steps to compile Percona Server for MySQL 5.7.22 in Raspberry Pi 3. Why? Well because in general this little computer is cheap, has low power consumption, and is great to use as a test machine for developers.
By default Raspbian OS includes very few versions of MySQL to install
$ apt-cache search mysql | grep server ... mariadb-server-10.0 - MariaDB database server binaries mariadb-server-10.1 - MariaDB database server binaries mariadb-server-core-10.0 - MariaDB database core server files mariadb-server-core-10.1 - MariaDB database core server files mysql-server - MySQL database server binaries and system database setup [transitional] (5.5) ...
If you want to install MySQL or MariaDB on an ARM architecture using official pre-built binaries, you are limited to those distributions and versions.