Database connection "Mysql" is missing, or could not be created.
:
Warning (2): PDO::__construct(): MySQL server has gone away [CORE/Cake/Model/Datasource/Database/Mysql.php, line 175]Code Context$config['password'],
$flags
);
$config = array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'persistent' => false, 'datasource' => 'Database/Mysql', 'encoding' => 'utf8' ) $flags = array( (int) 12 => false, (int) 1000 => true, (int) 3 => (int) 2, (int) 1002 => 'SET NAMES utf8' ) $dsn = 'mysql:host=localhost;port=3306;dbname=bustei' $this = object(Mysql) { description => 'MySQL DBO Driver' startQuote => '`' endQuote => '`' fieldParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'comment' => array( [maximum depth reached] ) ) tableParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'engine' => array( [maximum depth reached] ) ) columns => array( 'primary_key' => array( [maximum depth reached] ), 'string' => array( [maximum depth reached] ), 'text' => array( [maximum depth reached] ), 'biginteger' => array( [maximum depth reached] ), 'integer' => array( [maximum depth reached] ), 'float' => array( [maximum depth reached] ), 'datetime' => array( [maximum depth reached] ), 'timestamp' => array( [maximum depth reached] ), 'time' => array( [maximum depth reached] ), 'date' => array( [maximum depth reached] ), 'binary' => array( [maximum depth reached] ), 'boolean' => array( [maximum depth reached] ) ) index => array( 'PRI' => 'primary', 'MUL' => 'index', 'UNI' => 'unique' ) alias => 'AS ' cacheMethods => true useNestedTransactions => false fullDebug => false affected => null numRows => null took => null configKeyName => null virtualFieldSeparator => '__' connected => false config => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'persistent' => false, 'datasource' => 'Database/Mysql', 'encoding' => 'utf8' ) cacheSources => true [protected] _baseConfig => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'persistent' => true ) [protected] _connection => null [protected] _useAlias => true [protected] _charsets => array() [protected] _result => null [protected] _queriesCnt => (int) 0 [protected] _queriesTime => null [protected] _queriesLog => array() [protected] _queriesLogMax => (int) 200 [protected] _queryCache => array() [protected] _sqlOps => array( (int) 0 => 'like', (int) 1 => 'ilike', (int) 2 => 'or', (int) 3 => 'not', (int) 4 => 'in', (int) 5 => 'between', (int) 6 => 'regexp', (int) 7 => 'similar to' ) [protected] _transactionNesting => (int) 0 [protected] _queryDefaults => array( 'conditions' => array([maximum depth reached]), 'fields' => null, 'table' => null, 'alias' => null, 'order' => null, 'limit' => null, 'joins' => array([maximum depth reached]), 'group' => null, 'offset' => null ) [protected] _methodCacheChange => false [protected] _descriptions => array() [protected] _sources => null [protected] _transactionStarted => false }PDO::__construct() - [internal], line ?? Mysql::connect() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 175 DboSource::__construct() - CORE/Cake/Model/Datasource/DboSource.php, line 260 ConnectionManager::getDataSource() - CORE/Cake/Model/ConnectionManager.php, line 105 Model::setDataSource() - CORE/Cake/Model/Model.php, line 3471 Model::setSource() - CORE/Cake/Model/Model.php, line 1126 Model::getDataSource() - CORE/Cake/Model/Model.php, line 3493 Model::_readDataSource() - CORE/Cake/Model/Model.php, line 2897 Model::find() - CORE/Cake/Model/Model.php, line 2869 CommonActionComponent::get_db_Busteis_data() - APP/Controller/Component/CommonActionComponent.php, line 1672 BusteisController::index() - APP/Controller/BusteisController.php, line 45 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 108
Warning (2): PDO::__construct() [pdo.construct]: Error while reading greeting packet. PID=19143 [CORE/Cake/Model/Datasource/Database/Mysql.php, line 175]Code Context$config['password'],
$flags
);
$config = array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'persistent' => false, 'datasource' => 'Database/Mysql', 'encoding' => 'utf8' ) $flags = array( (int) 12 => false, (int) 1000 => true, (int) 3 => (int) 2, (int) 1002 => 'SET NAMES utf8' ) $dsn = 'mysql:host=localhost;port=3306;dbname=bustei' $this = object(Mysql) { description => 'MySQL DBO Driver' startQuote => '`' endQuote => '`' fieldParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'comment' => array( [maximum depth reached] ) ) tableParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'engine' => array( [maximum depth reached] ) ) columns => array( 'primary_key' => array( [maximum depth reached] ), 'string' => array( [maximum depth reached] ), 'text' => array( [maximum depth reached] ), 'biginteger' => array( [maximum depth reached] ), 'integer' => array( [maximum depth reached] ), 'float' => array( [maximum depth reached] ), 'datetime' => array( [maximum depth reached] ), 'timestamp' => array( [maximum depth reached] ), 'time' => array( [maximum depth reached] ), 'date' => array( [maximum depth reached] ), 'binary' => array( [maximum depth reached] ), 'boolean' => array( [maximum depth reached] ) ) index => array( 'PRI' => 'primary', 'MUL' => 'index', 'UNI' => 'unique' ) alias => 'AS ' cacheMethods => true useNestedTransactions => false fullDebug => false affected => null numRows => null took => null configKeyName => null virtualFieldSeparator => '__' connected => false config => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'persistent' => false, 'datasource' => 'Database/Mysql', 'encoding' => 'utf8' ) cacheSources => true [protected] _baseConfig => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'persistent' => true ) [protected] _connection => null [protected] _useAlias => true [protected] _charsets => array() [protected] _result => null [protected] _queriesCnt => (int) 0 [protected] _queriesTime => null [protected] _queriesLog => array() [protected] _queriesLogMax => (int) 200 [protected] _queryCache => array() [protected] _sqlOps => array( (int) 0 => 'like', (int) 1 => 'ilike', (int) 2 => 'or', (int) 3 => 'not', (int) 4 => 'in', (int) 5 => 'between', (int) 6 => 'regexp', (int) 7 => 'similar to' ) [protected] _transactionNesting => (int) 0 [protected] _queryDefaults => array( 'conditions' => array([maximum depth reached]), 'fields' => null, 'table' => null, 'alias' => null, 'order' => null, 'limit' => null, 'joins' => array([maximum depth reached]), 'group' => null, 'offset' => null ) [protected] _methodCacheChange => false [protected] _descriptions => array() [protected] _sources => null [protected] _transactionStarted => false }PDO::__construct() - [internal], line ?? Mysql::connect() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 175 DboSource::__construct() - CORE/Cake/Model/Datasource/DboSource.php, line 260 ConnectionManager::getDataSource() - CORE/Cake/Model/ConnectionManager.php, line 105 Model::setDataSource() - CORE/Cake/Model/Model.php, line 3471 Model::setSource() - CORE/Cake/Model/Model.php, line 1126 Model::getDataSource() - CORE/Cake/Model/Model.php, line 3493 Model::_readDataSource() - CORE/Cake/Model/Model.php, line 2897 Model::find() - CORE/Cake/Model/Model.php, line 2869 CommonActionComponent::get_db_Busteis_data() - APP/Controller/Component/CommonActionComponent.php, line 1672 BusteisController::index() - APP/Controller/BusteisController.php, line 45 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 108
: