Saturday, July 16, 2016

Debian 8 - Install latest version of MySQL server

Debian distribution provides MySQL 5.5, not 5.6 or later.

Here’s how to install latest MySQL server:

Install the MySQL APT repository config tool

MySQL :: Download MySQL APT Repository
# Download the MySQL APT repository config tool
wget http://dev.mysql.com/get/mysql-apt-config_0.7.3-1_all.deb

# Apply config tool to APT repository (as root)
dpkg -i mysql-apt-config_0.7.3-1_all.deb

# Update APT repository (as root)
apt-get clean && apt-get update

Configure the MySQL APT if you change default configurations.

Apt mysql

Install the MySQL server/client

apt-get install mysql-server
apt-get install mysql-client

That's it!

No comments:

Post a Comment