A receita abaixo foi testada em um CentOS.

Após apresentar este erro…

#2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
The server is not responding (or the local server's socket is not correctly configured).

Siga os passos…