Skip to content

Instantly share code, notes, and snippets.

@wirwolf
Created January 21, 2016 13:16
Show Gist options
  • Save wirwolf/1192043fb3e2d0dddb26 to your computer and use it in GitHub Desktop.
Save wirwolf/1192043fb3e2d0dddb26 to your computer and use it in GitHub Desktop.
Installing MySQL
We use Percona-MySQL everywhere for extra features and up-to-date Ubunut builds they maintain.
Add Percona Repo
Execute following commands:
apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
echo "deb http://repo.percona.com/apt `lsb_release -cs` main" >> /etc/apt/sources.list.d/percona.list
echo "deb-src http://repo.percona.com/apt `lsb_release -cs` main" >> /etc/apt/sources.list.d/percona.list
apt-get update
Installing percona-mysql server
sudo apt-get install percona-server-server-5.6 percona-server-client-5.6
Above wizard should ask you to enter a mysql password for user root. If it doesn’t, then run the following command to change MySQL password.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment