Есть проект разработан в ОС Windows (apache + postgresql 9.3)
при переносе на хостинг (ОС Ubuntu 14.04 apache2 postgresql 9.3) возникло такое проблема
--
CDbConnection failed to open the DB connection: SQLSTATE[08006] [7] FATAL: password authentication failed for user "postgres"
FATAL: password authentication failed for user "postgres"
connectionString следующий:
Код: Выделить всё
'db' => [
'connectionString' => 'pgsql:host=127.0.0.1;port=5432;dbname=u_base',
'username' => 'postgres',
'password' => 'pass',
'charset' => 'utf8',
'tablePrefix' => 'T_',
'enableProfiling'=>true,
'enableParamLogging' => true,
],