Upgrading mysql 5.5 to mysql 5.6 on digital hosting on Ubuntu 14.04 – The easy way

It will really Good Article.

aMi on Rails

By default currently 5.5 get install by default with Ubuntu 14.04.

you cannot just simply upgrade the database by typing one command.

If you would like to do in professional manner then 🙂 you should read

http://dev.mysql.com/doc/refman/5.6/en/upgrading-from-previous-series.html

If you are just upgrading the mysql db and care to much what might happens then you can following these instruction

So to upgrade your default version of MySQL 5.5 to MySQL 5.6 on Ubuntu 14.04.1 LTS (Trusty Tahr)

$sudo apt-get remove mysql-server

$sudo apt-get autoremove

$sudo apt-get install mysql-client-5.6 mysql-client-core-5.6

and finally

$sudo apt-get install mysql-server-5.6

Wait few minutes and set up a new password again

Well done!

You have now upgrade your MySQL 5.5 to the latest version on Digital Hosting

Perahps it’s worht checking 🙂

$sudo mysql -h localhost -V

Now our output looks amazing. This is what we wanted!

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

View original post 2 more words

Advertisements

Leave your comments

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s