An exception occured while bootstrapping the application.

PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Stack Trace:
#0 /var/www/centerbrook/website/library/Doctrine/Connection/Mysql.php(101): Doctrine_Connection->connect()
#1 /var/www/centerbrook/website/library/Doctrine/Formatter.php(191): Doctrine_Connection_Mysql->connect()
#2 /var/www/centerbrook/website/library/Doctrine/Connection.php(784): Doctrine_Formatter->quote('UTF8', NULL)
#3 /var/www/centerbrook/website/library/Doctrine/Connection/Mysql.php(125): Doctrine_Connection->quote('UTF8')
#4 /var/www/centerbrook/website/application/bootstrap.php(135): Doctrine_Connection_Mysql->setCharset('UTF8')
#5 /var/www/centerbrook/website/public/index.php(1): require('/var/www/center...')
#6 {main}