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
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
$sudo apt-get install mysql-server-5.6
Wait few minutes and set up a new password again
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 EditLine wrapper