How to upgrade my MYSQL to specific version

Posted December 28, 2016 7.9k views

Now i use mysql version 5.5.53 ( on ubuntu 14.04.1 )
i want to upgrade there to 5.6.29 ( not latest version just only v. 5.6.29 )
how can i do that ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

You can use apt-cache policy mysql-server and see which versions are available depending on repo you’ve configured at /etc/apt/sources.list
then copy version number to install if that is available like

apt-get install mysql-server=5.6.29

(Use sudo if not root)
I don’t actually recommend this as it might break things if you’re using mysql with php, phpmyadmin etc