Check out the LimeSurvey source code on GitHub!

Moved servers. Now Database hostname is changing.

2 years 7 months ago - 2 years 7 months ago #111131 by rydesign
We just moved our Limesurvey installation to another server. We changed the database information in the config.php as follows:

'connectionString' => 'mysql:host=dac43118ent201.managed.cln;port=3306;dbname=premiga5_survey2;',

Unfortunately, we get a database error:
CDbConnection failed to open the DB connection: SQLSTATE[28000] [1045] Access denied for user 'premiga5'@'dac43118ent202.managed.cln' (using password: YES)

As you can see, somewhere along the line our host name is being changed from "...ent201" to "...ent202"

Does anyone know what may be changing this value?

Please Log in to join the conversation.

2 years 7 months ago #111184 by c_schmitz
dac43118ent202.managed.cln is the server you are connecting from - not the one you are connecting to.
Obviously it is a permission problem of the database user who may not connect.

Best regards

Carsten Schmitz
LimeSurvey project leader
The following user(s) said Thank You: rydesign

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form