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

Warning: mysql_select_db(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/hva/public_html/vendor/database.php on line 4

Warning: mysql_select_db(): A link to the server could not be established in /home/hva/public_html/vendor/database.php on line 4

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/hva/public_html/vendor/database.php on line 5

Warning: mysql_query(): A link to the server could not be established in /home/hva/public_html/vendor/database.php on line 5

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/hva/public_html/vendor/database.php:3) in /home/hva/public_html/vendor/functions.php on line 6

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/hva/public_html/vendor/database.php:3) in /home/hva/public_html/vendor/functions.php on line 6

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/hva/public_html/vendor/database.php on line 10

Warning: mysql_query(): A link to the server could not be established in /home/hva/public_html/vendor/database.php on line 10
ERROR IN QUERY