2.00+ CDbConnection failed to open the DB connection.

More
4 years 8 months ago #102510 by sanjayrdesai
sanjayrdesai created the topic: 2.00+ CDbConnection failed to open the DB connection.
4 months ago I had successfully installed limesurvey200plus-build131009. But because of one feature not working I deleted the whole database & am now trying to re-install it.

I reach successfully upto the "Optional settings" after which I get the following notice:

"Internal Server Error

CDbConnection failed to open the DB connection.

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem."

Kindly note that the tables are indeed created.

Please help. Nothing seems to be working, neither 2.05 or 2.00!

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #102515 by DenisChenu
DenisChenu replied the topic: 2.00+ CDbConnection failed to open the DB connection.
Hi,

Maybe the DB connection are updated : you have to find the new connection methode (username/password/dbname etc ..)
And update application/config/config.php according to this new information.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #102587 by sanjayrdesai
sanjayrdesai replied the topic: 2.00+ CDbConnection failed to open the DB connection.
I am a bit confused. In the config folder there are 5 files:
config-defaults.php, config-sample-dblib.php, config-sample-mysql.php,config-sample-pqsql.php, & config-sample-sqlsry.php!!! Which one am I supposed to reset?

I tried manually entering db username + password in all the files (except defaults) but now I get stuck at stage:
"6: Optional settings"; It says: "Passwords don't match." But they do!

Please kindly advice Sir.

Sanjay.

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #169343 by InnohMosetih
InnohMosetih replied the topic: 2.00+ CDbConnection failed to open the DB connection.
Was this issue resolved because I have the same concern installing LimeSurvey in my pc? If yes please post link to solution.

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #169349 by holch
holch replied the topic: 2.00+ CDbConnection failed to open the DB connection.
This topic is 4 years old and there have been various major versions in between. Just install it and test it. Your question makes no sense what so ever.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!