Page 1 of 1

DATA BASE ISSUE

PostPosted: 19 Sep 2017, 10:14
by mian
I faced a problem of below one after installation of web through (softaculous cpanel)

CDbException

CDbConnection failed to open the DB connection.

web is : https://www.post2sold.com

Re: DATA BASE ISSUE

PostPosted: 19 Sep 2017, 11:34
by Foton
It seems like you have set incorrect data for connection with database

Re: DATA BASE ISSUE

PostPosted: 19 Sep 2017, 12:44
by mian
are you able to fix this problem, i will send you login detail.

Re: DATA BASE ISSUE

PostPosted: 19 Sep 2017, 13:11
by mian
Please see below data base

<?php
return array (
'components' =>
array (
'db' =>
array (
'class' => 'CDbConnection',
'connectionString' => 'mysql:host=localhost;dbname=123;port=3306',
'username' => '123',
'password' => '123',
'emulatePrepare' => true,
'charset' => 'utf8',
'enableParamLogging' => false,
'enableProfiling' => false,
'schemaCachingDuration' => 7200,
'tablePrefix' => 'o2587_',
),
),
'language' => 'en',
) ;
?>

Re: DATA BASE ISSUE

PostPosted: 20 Sep 2017, 10:09
by Foton
We need database access from your hostig to check everything