Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/gigante/public_html/includes/BancoDeDados.php on line 6

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/gigante/public_html/includes/BancoDeDados.php on line 30
Erro!

# 2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

SELECT * FROM visitantes WHERE data=22/08/2014