Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/shavit/public_html/dispatcher.php on line 77

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/shavit/public_html/dispatcher.php on line 78

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/shavit/public_html/includes/addons/configs/osc_seourls_ap.php on line 283

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/shavit/public_html/includes/addons/configs/osc_seourls_ap.php on line 283
died:
			SELECT
				seo.surls_param
			FROM
				osc_seo_urls as seo
			WHERE
				(seo.surls_param LIKE '%cPath=%' OR seo.surls_param LIKE '%category_id=%')
			AND
				seo.surls_param LIKE '%%'
			AND
				(seo.surls_param NOT LIKE '%products_id=%' OR seo.surls_param NOT LIKE '%product_id=%')
			AND
				seo.surls_name = 'dispatcher.php'
			ORDER BY
				seo.surls_id
			DESC
			LIMIT 1;

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)