Skip to content

Instantly share code, notes, and snippets.

View sergejusb's full-sized avatar

Sergejus sergejusb

  • Google
  • Seattle, WA, USA
View GitHub Profile
@beaudierman
beaudierman / gist:5444977
Created April 23, 2013 16:11
How to install MySQL 5.6 on Ubuntu 12.04
I recently had to install MySQL 5.6 on Ubuntu 12.04 from a .deb package on the MySQL website. It seems that either the package has been updated recently or nobody uses this method to install so I ended up running into endless problems. Through trial and error I found the following method works for me.
Install libaio-dev:
sudo apt-get install libaio-dev
Now install your package(mine was enterprise edition, community may have a different filename):
sudo dpkg -i mysql-advanced-5.6.10-debian6.0-x86_64.deb
This will install your files to the /opt directory, instead of the more common /etc directory. No worries, all we need to do is point our system at this new directory.