Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/girardib/public_html/norcalfurniture/dispatcher.php on line 69

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/girardib/public_html/norcalfurniture/dispatcher.php on line 70

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

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/girardib/public_html/norcalfurniture/includes/addons/configs/osc_seourls_ap.php on line 249
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 = 'smoke-green-microfiber-sofa-and-love-seat'
			ORDER BY
				seo.surls_id
			DESC
			LIMIT 1;

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