mySQL ERROR 2002
ERROR: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
solution:
You need to install the server package:
[php]sudo yum install mysql-server[/php]
After installation, you have to start the service:
[php]sudo service mysqld start[/php]
and dont forget to secure install
[php]sudo /usr/bin/mysql_secure_installation[/php]