Get A Sys Admin

sysadmin linux open source centos redhat rhel ubuntu apache mysql amazon ec2 s3 tutorial

Oct 12, 2010

Can't start mysql server

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock

If you get the above error on Ubuntu and you have tried all the things suggested by others (permissions, recreating the socket file, reboot, bind address change) you may want to try stopping apparmor and starting again mysql.

service apparmor stop
service mysql start

later edit
to do: instructions for correct configuration of apparmor, since stopping the service is a bit barbarian(but efficient).

Labels: , , , , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home