Ubuntu 14.04 added MySQL 5.6 to the official repository but it turns out installing it on anything less than 1GB RAM is pretty difficult.
It is necessary to disable service startup after an install to prevent apt-get from treating it as a install failure.
Create the file /usr/sbin/policy-rc.d and paste the following:
Make sure it’s executeable:
sudo chmod +x /usr/sbin/policy-rc.d
Pretty straight forward:
sudo apt-get install mysql-server-5.6
Change /etc/mysql/my.cnf to the following values or add them if they do not exist:
# per thread or per operation settings
#settings that relate to the binary log (if enabled)
Although the above allows MySQL 5.6 to be installed on a lower resource server, the above only allows an insall run to be made but I still encountered Out Of Memory (OOM) exceptions over time and also it was unstable (about 1-2 minutes of timeouts). The above just proves it can be installed but it won’t run as well as 5.5.