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: amazon, cloud, ec2, mysql, servers, sysadmin, ubuntu