Error connecting with database.

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (146) in /var/apache2/htdocs.us/include/gjcln/include/database.php on line 36

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (146)


Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (146) in /var/apache2/htdocs.us/include/gjcln/include/database.php on line 36

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (146)

lib::ERROR:No database connection