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

cannot connect to the database server : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)