I have just setup a new app on serverpilot.io but cannot connect to database. If I try to connect directly using PDO, it does not error. This if my config:
[Edited]
array(
'connectionString' => 'mysql:host=localhost;dbname=xxx',
'emulatePrepare' => false,
'username' => 'yyy',
'password' => 'zzz',
'charset' => 'utf8',
'class'=>'application.extensions.PHPPDO.CPdoDbConnection',
'pdoClass' => 'PHPPDO',
'enableProfiling' => true,
'enableParamLogging' => true
)
These are my PDO Drivers: dblib, mysql, odbc, pgsql, sqlite. And this is my pdo_mysql version: mysqlnd 5.0.12-dev - 20150407 - $Id: f59eb767fe17a6679589b5c076d9fa88d3d4eac0 $
From what I see, the pdo_mysql is already installed, is there anything I miss ? Thank you.