Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/swingerd/public_html/conexion.inc.php on line 3

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/swingerd/public_html/conexion.inc.php on line 4
ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/swingerd/public_html/seo.php on line 23
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)