Ubuntu 12.04 - Install MySQL 5.6

Below is a series of commands you can run to install mysql 5.6 from scratch on your Ubuntu 12.04 machine

sudo apt-get install python-software-properties -y
sudo apt-add-repository ppa:ondrej/mysql-5.6 -y
sudo apt-get update
sudo apt-get install mysql-server -y

I could not get this to work on small VPS instances, such as the base Digital Ocean instance or an AWS micro instance until I created and mounted a swapfile. This is because these instances do not have enough memory it appears.

No comments:

Post a Comment