DATA BASE ISSUE

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

DATA BASE ISSUE

Postby mian » 19 Sep 2017, 10:14

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
mian
Stranger
 
Posts: 3
Joined: 18 Sep 2017, 15:15
Reputation point: 0

Re: DATA BASE ISSUE

Postby Foton » 19 Sep 2017, 11:34

It seems like you have set incorrect data for connection with database
Foton
Web Developer
Web Developer
 
Posts: 117
Joined: 26 Jan 2012, 14:58
Reputation point: 1

Re: DATA BASE ISSUE

Postby mian » 19 Sep 2017, 12:44

are you able to fix this problem, i will send you login detail.
mian
Stranger
 
Posts: 3
Joined: 18 Sep 2017, 15:15
Reputation point: 0

Re: DATA BASE ISSUE

Postby mian » 19 Sep 2017, 13:11

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',
) ;
?>
mian
Stranger
 
Posts: 3
Joined: 18 Sep 2017, 15:15
Reputation point: 0

Re: DATA BASE ISSUE

Postby Foton » 20 Sep 2017, 10:09

We need database access from your hostig to check everything
Foton
Web Developer
Web Developer
 
Posts: 117
Joined: 26 Jan 2012, 14:58
Reputation point: 1


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 12 guests

cron