The website is running fine on my local MAMP server here on my computer, but when I uploaded it to my web server I get the following message:
PHP Code:
Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[HY000] [2013] Lost connection to MySQL server during query' in /var/www/library/Zend/Db/Adapter/Pdo/Abstract.php:131
Stack trace:
#0 /var/www/library/Zend/Db/Adapter/Abstract.php(735): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /var/www/library/Zend/Db/Adapter/Abstract.php(799): Zend_Db_Adapter_Abstract->quote('admin', NULL)
#2 /var/www/library/Zend/Auth/Adapter/DbTable.php(355): Zend_Db_Adapter_Abstract->quoteInto('`password` = ?', 'admin')
#3 /var/www/library/Zend/Auth/Adapter/DbTable.php(286): Zend_Auth_Adapter_DbTable->_authenticateCreateSelect()
#4 /var/www/library/Zend/Auth.php(118): Zend_Auth_Adapter_DbTable->authenticate()
#5 /var/www/application/default/controllers/AuthController.php(40): Zend_Auth->authenticate(Object(Zend_Auth_Adapter_DbTable))
#6 /var/www/library/Zend/Controller/Action.php(499): AuthController->loginAction()
#7 /var/www/library/Zend/Controller/Dispatcher/Standard.php(242): Zend_Controller_Action->dispatch('logi in /var/www/library/Zend/Db/Adapter/Pdo/Abstract.php on line 131
Does anyone know what may be causing the problem?