Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/frecatei/public_html/lib/mysql.inc on line 5

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/frecatei/public_html/lib/mysql.inc on line 7

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/frecatei/public_html/lib/mysql.inc on line 7

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/frecatei/public_html/lib/mysql.inc on line 15

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/frecatei/public_html/lib/mysql.inc on line 15
SQL Error: SELECT * FROM `filedb` WHERE (`id`=1019)and(`securityhash`='4083d571a34ec6e0cbe76c74d84f7a10') LIMIT 1