An exception occured while bootstrapping the application.

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Stack Trace:
#0 /home/printmot/public_html/library/Zend/Db/Adapter/Abstract.php(459): Zend_Db_Adapter_Mysqli->_connect()
#1 /home/printmot/public_html/library/Zend/Db/Adapter/Abstract.php(734): Zend_Db_Adapter_Abstract->query('select * from s...', Array)
#2 /home/printmot/public_html/common/global.php(4): Zend_Db_Adapter_Abstract->fetchAll('select * from s...')
#3 /home/printmot/public_html/application/bootstrap.php(20): require('/home/printmot/...')
#4 /home/printmot/public_html/index.php(91): require('/home/printmot/...')
#5 {main}