Zend_Db_Adapter_Exception

SQLSTATE[HY000] [2005] Unknown MySQL server host 'db' (2)

Source file

File: /data/www/virtuals/hf.cz/apeti08admin/www_root/library/Zend/Db/Adapter/Pdo/Abstract.php   Line: 143

Line 136:                $this->_connection->setAttribute(PDO::ATTR_ERRMODEPDO::ERRMODE_EXCEPTION);
Line 137:    
Line 138:            } catch (PDOException $e) {
Line 139:                /**
Line 140:                 * @see Zend_Db_Adapter_Exception
Line 141:                 */
Line 142:                require_once 'Zend/Db/Adapter/Exception.php';
Line 143:                throw new Zend_Db_Adapter_Exception($e->getMessage());
Line 144:            }
Line 145:    
Line 146:        }
Line 147:    
Line 148:        /**
Line 149:         * Force the connection to close.
Line 150:         *

Call stack

  1. Adapter/Abstract.php (414) source   Zend_Db_Adapter_Pdo_Abstract-> _connect ()

  2. Pdo/Abstract.php (220) source   Zend_Db_Adapter_Abstract-> query (arguments )

  3. application/bootstrap.php (51) source   Zend_Db_Adapter_Pdo_Abstract-> query (arguments )

  4. public/index.php (6) source   require (arguments )

Environment

Exception

ZF request

ZF response

HTTP request

HTTP response