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

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/broc7/gfed/config.php on line 4

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/broc7/gfed/page.php on line 160

Warning: mysql_query(): A link to the server could not be established in /home/broc7/gfed/page.php on line 160
sql error: SELECT p.id, p.title, p.pubdate, p.text, p.author, p.c_count, p.t_count, p.v_count FROM posts p WHERE post_display = 1 AND post_deleted = 0 AND (embdate IS NULL OR embdate < '2014-09-30 06:47:16') AND (offdate IS NULL OR offdate > '2014-09-30 06:47:16') ORDER BY `pubdate` DESC LIMIT 5