# mysql -u root error 2002 (hy000) can't connect to local mysql server through socket '/tmp/mysql.sock' (111)접속 하려고 했더니 위와 같이 에러가 발생이 된다. # rm -rf /var/lib/mysql/mysql.sock# service mysqld restartStopping mysqld: [ OK ]Starting mysqld: [ OK ]# mysql -u rootWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 4Server version: 5.1.71-log Source distribution Copyright..