Warning: mysql_select_db() expects parameter 2 to be resource, null given in /home/nkmaringa/www/imprimir_news_fato.php on line 38

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/nkmaringa/www/imprimir_news_fato.php on line 10

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/nkmaringa/www/imprimir_news_fato.php on line 10

Warning: mysql_query() expects parameter 2 to be resource, null given in /home/nkmaringa/www/imprimir_news_fato.php on line 40
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)