Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/andhran1/public_html/pincodesindia.com/locations.php on line 8

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/andhran1/public_html/pincodesindia.com/locations.php on line 9

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/andhran1/public_html/pincodesindia.com/functions.php on line 60

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/andhran1/public_html/pincodesindia.com/functions.php on line 60
1-Query failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
SELECT state from pincodes where pincode=560060