reading initial communication packet', system error: 0
I am getting the following error when trying to remotely connect to my MySQL server.
Unable to connect to host 127.0.0.1, or the request timed out. Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds). MySQL said: Lost connection to MySQL server at 'reading initial communication packet', system error: 0
I am logging in using SSH: http://i.imgur.com/ljZflVG.png
I experience this on all of my Digital Ocean droplets (since 2014). Rebooting the server solves the problem. Sometimes I have to reboot the server several times before the error vanishes and I can log in.
It only happens through SSH login.
If I login using remote IP, user and password I can connect just fine.