Results 1 to 3 of 3

Thread: Uncaught exception 'Zend_Db_Adapter_Exception

  1. #1

    Exclamation Uncaught exception 'Zend_Db_Adapter_Exception

    i recently updated to php 5.3 and updated the ion_cube _loader now when i try to log in i get the error

    Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' in /usr/local/psa/admin/smb/application/externals/Zend/Db/Adapter/Pdo/Abstract.php:143 Stack trace: #0 /usr/local/psa/admin/smb/application/externals/Zend/Db/Adapter/Abstract.php(417): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /usr/local/psa/admin/smb/application/externals/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query('SELECT 1', Array) #2 /usr/local/psa/admin/smb/application/library/Smb/Application/Abstract.php(91): Zend_Db_Adapter_Pdo_Abstract->query('SELECT 1') #3 /usr/local/psa/admin/smb/application/library/Smb/Application/Web.php(42): Smb_Application_Abstract->_initDbAdapter() #4 /usr/local/psa/admin/smb/application/public/index.php(15): Smb_Application_Web->run() #5 {main} thrown in /usr/local/psa/admin/smb/application/externals/Zend/Db/Adapter/Pdo/Abstract.php on line 143

    i get nothing but that.

  2. #2
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Novosibirsk, Russia


    Are you sure that you have correct path to zend_extension in /etc/php.d/ioncube-loader.ini ?
    Do you have any errors in output of

    # php -v


  3. #3


    the trouble actually was that mysql was not starting. i had to reinstall mysql and make sure it was running then everything was fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts