MySQL Server 5.5 comes with a Debian Linux distribution (version 9), but the latest GA (generally available) versions of MySql server are 5.6 and 5.7 with some major enhancements and new features, including support for InnoDB full-text search.
This tutorial has been tested on the following Linux distributions:
Debian Linux 9 (Extended)
Debian Linux 8 (Jesse)
Debian Linux 7 (Wheezy)
March 26, 2018
This is a tutorial on how to install MySQL server 5.6 or 5.7 (optional during this process).
1. Download the MySQL APT repository configuration tool (you can view more details and the latest version of the tool here: http://dev.mysql.com/downloads/repo/apt/)
2. Install MySQL APT Repository Configuration Tool
dpkg -i mysql-apt-config_0.8.9-1_all.deb
You will be asked to select the product and version you want to install. In the first step, select server Then select MySQL 5.6 Either MySQL 5.7. Then click Apply.
3. Update APT
4. Install the server
apt-get install mysql-community-server