Error: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
File: /var/www/modules/database/drivers/mysql.php
Line: 107
#0  Caffeine::error(2, mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2), /var/www/modules/database/drivers/mysql.php, 107) called at [/var/www/index.php:503]
#1  caffeine_error(2, mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2), /var/www/modules/database/drivers/mysql.php, 107, Array ([host] => localhost,[database] => bananappeal,[user] => root,[pass] => 123456,[alias] => default))
#2  mysql_connect(localhost, root, 123456) called at [/var/www/modules/database/drivers/mysql.php:107]
#3  Database::connect() called at [/var/www/modules/database/database_events.php:30]
#4  Database_Events::caffeine_bootstrap(Array ())
#5  call_user_func(Array ([0] => database_events,[1] => caffeine_bootstrap), Array ()) called at [/var/www/index.php:290]
#6  Caffeine::trigger(Caffeine, bootstrap) called at [/var/www/index.php:166]
#7  Caffeine::init() called at [/var/www/index.php:513]