Today I needed to install Magento 2.0 ecommerce to a Debian 8 (jessie) server.
Magento 2.0 requires MySql Server version >= 5.6, but unfortunately Debian wheezy and jessie comes with MySql Server 5.5.
Below instructions on how to install MySql Server 5.7 on Debian:
1. Download the MySQL APT repository config tool
wget http://dev.mysql.com/get/mysql-apt-config_0.6.0-1_all.deb
2. Install the MySQL APT repository config tool
dpkg -i mysql-apt-config_0.6.0-1_all.deb
You will be asked to choose the product and version that you want to install. In the first step, select Server and next select mysql-5.7. Then click Apply.



3. Update package information from the MySQL APT repository
apt-get update
4. Install MySql Server 5.7
apt-get install mysql-community-server
Leave a Reply