2 WARNING mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
#0  error_handler(2, mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2), /var/www/html/classes/DB.class.php, 20, Array ())
#1  mysql_connect(localhost, root, nut25log) called at [/var/www/html/classes/DB.class.php:20]
#2  DB::connect() called at [/var/www/html/classes/DB.class.php:39]
#3  DB::query(SELECT * FROM aliases WHERE url = "vellinga.nu") called at [/var/www/html/classes/DB.class.php:177]
#4  DB::selectOne(alias, url = ?, Array ([0] => vellinga.nu)) called at [/var/www/html/classes/DBModel.class.php:51]
#5  DBModel->__construct(url = ?, vellinga.nu) called at [/var/www/html/includes/init.inc.php:68]
#6  require_once(/var/www/html/includes/init.inc.php) called at [/var/www/html/index.php:48]
Connection error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)