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

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/drag/public_html/databaseconnection.php on line 4

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

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/drag/public_html/kndetail.php on line 43

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/drag/public_html/kndetail.php on line 44
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)Error! - browse2test -- SELECT kn_parts.year, kn_parts.make, kn_parts.model, kn_parts.modelID, kn_parts.part_description, kn_parts.part_num, kn_parts.notes, kn_desc.part_text, carmakes.name FROM kn_parts LEFT JOIN carmakes on kn_parts.make = carmakes.ID LEFT JOIN kn_desc on kn_parts.part_description = kn_desc.part_description WHERE kn_parts.partID = '23950'