Code Context try {
$this->_connection = new PDO(
$dsn,
$config = array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true,
'flags' => array(),
'datasource' => 'Database/Mysql',
'prefix' => 'cers_',
'encoding' => 'utf8'
)
$flags = array(
(int) 12 => true,
(int) 1000 => true,
(int) 3 => (int) 2,
(int) 1002 => 'SET NAMES utf8'
)
$dsn = 'mysql:host=private-pluto-db-small-do-user-158257-0.c.db.ondigitalocean.com;port=25060;dbname=cersng'
PDO::__construct() - [internal], line ??
Mysql::connect() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 188
DboSource::__construct() - CORE/Cake/Model/Datasource/DboSource.php, line 278
ConnectionManager::getDataSource() - CORE/Cake/Model/ConnectionManager.php, line 105
Model::setDataSource() - CORE/Cake/Model/Model.php, line 3659
Model::setSource() - CORE/Cake/Model/Model.php, line 1162
Model::getDataSource() - CORE/Cake/Model/Model.php, line 3686
Model::schema() - CORE/Cake/Model/Model.php, line 1394
FormHelper::_introspectModel() - CORE/Cake/View/Helper/FormHelper.php, line 215
FormHelper::create() - CORE/Cake/View/Helper/FormHelper.php, line 480
include - APP/View/Users/login.ctp, line 1
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92