Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
In case of 5.6 version, there might be a bug that involves performance_schema. which leads to a bigger RAM usage values, and also prevents percona-server from starting / installing on droplets with less than 1GB RAM.
There are 3 options in fixing this:
Turn off performance_schema by adding performance_schema = off to my.cnf file.
Add a swap file:
Bigger droplet :D .
More info about this: http://yoshinorimatsunobu.blogspot.ro/2013/08/another-reason-to-disable-performance.html
Does this process break the Master-Slave Replication when the migration is done on the master?
The my.conf file breaks for me every time. If I replace it with the original file, mysql restarts fine. I’ve also tried the Percona wizard. What is different is the file paths. Replacing them with what was there also isn’t enough.
Through making some changes, I can get to a different error with an attempt to login but every solution on StackExchange says to reinstall mysql, which obviously isn’t what we want to do.
root@Cantech:~# mysql -u root ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) root@Cantech:~# mysql -u root ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (111)
The first error is if there is no .sock file. The 2nd error is when I restore the .sock file from backup.
Any ideas what’s different from then to now? I have a 1GB droplet, fresh. This is the first thing I’m trying to do after using ServerPilot to connect.
I was getting the error “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”.
Turned out I needed to run apt-get install php5-mysql afterwards.
Leaving this here in case someone else runs into that error.
Props to Sathishkumar in the comments.
Be careful with “apt-get autoremove” in Step Two. This removed postfix-mysql and dovecot-mysql, which broke my mail server. I had to re-install them after the Percona installation.
Otherwise, everything worked pretty well. I haven’t done any serious benchmarking yet, but things do seem snappier.
Thanks for the guide!
Thank you for the tutorial. I was using MySql 5.5 on an ubuntu 14.04 server. After following all the steps as mentioned, my website gives a 500 error. Any ideas what might be going wrong?
If you can’t connect to the .sock file after doing this upgrade on Ubuntu, it’s because apparmor is preventing it from being created and the Percona package replaces the default configuration file that allows it. I copied the following into /etc/apparmor.d/usr.sbin.mysqld from another server and it worked:
/usr/sbin/mysqld { #include <abstractions/base> #include <abstractions/nameservice> #include <abstractions/user-tmp> #include <abstractions/mysql> #include <abstractions/winbind>
capability dac_override, capability sys_resource, capability setgid, capability setuid,
network tcp,
/etc/hosts.allow r, /etc/hosts.deny r,
/etc/mysql/.pem r, /etc/mysql/conf.d/ r, /etc/mysql/conf.d/ r, /etc/mysql/.cnf r, /usr/lib/mysql/plugin/ r, /usr/lib/mysql/plugin/.so* mr, /usr/sbin/mysqld mr, /usr/share/mysql/** r, /var/log/mysql.log rw, /var/log/mysql.err rw, /var/lib/mysql/ r, /var/lib/mysql/** rwk, /var/log/mysql/ r, /var/log/mysql/* rw, /var/run/mysqld/mysqld.pid rw, /var/run/mysqld/mysqld.sock w, /run/mysqld/mysqld.pid rw, /run/mysqld/mysqld.sock w,
/sys/devices/system/cpu/ r,
#include <local/usr.sbin.mysqld> }