Menu

How to Install MySQL 5.7 or 5.6 or 5.5 on Ubuntu, Debian & LinuxMint

This article will help you for installing MySQL 5.7 or 5.6 or 5.6 on Ubuntu, Debian and LinuxMint systems.

Use one of following installation steps as per your requirement of MySQL version. Install process will prompt you for inpur password twice. This will be root account password for your MySQL install.

Install MySQL 5.7

Use the following commands to install or upgrade MySQL 5.7 on your Ubuntu, Debian or LinuxMint systems. At the last update of this tutorial MySQL 5.7.9 is latest available MySQL release.
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -y ppa:ondrej/mysql-5.7
$ sudo apt-get update
$ sudo apt-get install mysql-server

Install MySQL 5.6

Use the following commands to install or upgrade MySQL 5.6 on your Ubuntu or LinuxMint systems. Currently this is the most popular version used.
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -y ppa:ondrej/mysql-5.6
$ sudo apt-get update
$ sudo apt-get install mysql-server
Verify installed version
rahul@hackthesec:~$ mysql --version 

mysql  Ver 14.14 Distrib 5.6.19, for debian-linux-gnu (x86_64) using  EditLine wrapper

Install MySQL 5.5

Use the following commands to install MySQL 5.5 on your Ubuntu or LinuxMint systems. If not specifically required, we recommend to use higher version of MySQL than 5.5.
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -y ppa:ondrej/mysql-5.5
$ sudo apt-get update
$ sudo apt-get install mysql-server

About Author:


I am a Linux Administrator and Security Expert with this site i can help lot's of people about linux knowladge and as per security expert i also intersted about hacking related news.TwitterFacebook

Next
Newer Post
Previous
Older Post

0 comments:

Post a Comment

 
Top