Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /nfs/c03/h01/mnt/55409/domains/kevinfreitas.net/includes/functions.php on line 43

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /nfs/c03/h01/mnt/55409/domains/kevinfreitas.net/includes/functions.php on line 43

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /nfs/c03/h01/mnt/55409/domains/kevinfreitas.net/includes/functions.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c03/h01/mnt/55409/domains/kevinfreitas.net/includes/functions.php:43) in /nfs/c03/h01/mnt/55409/domains/kevinfreitas.net/includes/functions.php on line 57

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c03/h01/mnt/55409/domains/kevinfreitas.net/includes/functions.php:43) in /nfs/c03/h01/mnt/55409/domains/kevinfreitas.net/includes/functions.php on line 58

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /nfs/c03/h01/mnt/55409/domains/kevinfreitas.net/includes/functions.php on line 884

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /nfs/c03/h01/mnt/55409/domains/kevinfreitas.net/includes/functions.php on line 884
Query
		SELECT
			bp.*, bp.id, bp.text_id
		FROM blog_posts bp
		LEFT JOIN blog_posts_to_tags bpt ON bpt.blog_post_id = bp.id
		LEFT JOIN tags t ON bpt.tag_id = t.id
		WHERE 1=1
		AND bp.active = 1
		
		AND bp.text_id LIKE 'multimedia-extravaganza'
		
		AND bp.entry_date <= NOW()
		
		
		
		GROUP BY bp.id
		ORDER BY bp.entry_date DESC
		
	
failed with error Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)