[debian-mysql] Bug#786981: mysql-server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Gavin Kinsey gavin at trollgod.org.uk
Sun May 22 18:57:09 UTC 2016

I believe this bug is the same as one reported to Ubuntu 

The solution from there is:

Bruno Patri (bruno666-deactivatedaccount) wrote on 2015-03-24: 	#3

Create a newfile /etc/tmpfiles.d/mysql.conf:

# systemd tmpfile settings for mysql
# See tmpfiles.d(5) for details

d /var/run/mysqld 0755 mysql mysql -

After reboot, mysql should start normally.
A seminar on Time Travel will be held two weeks ago. 

Gavin Kinsey

More information about the pkg-mysql-maint mailing list