Welcome, Guest
Username: Password: Remember me

TOPIC: Moved servers. Now Database hostname is changing.

Moved servers. Now Database hostname is changing. 3 months 1 day ago #111131

  • rydesign
  • rydesign's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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?
Last Edit: 3 months 1 day ago by rydesign. Reason: typo
The administrator has disabled public write access.

Moved servers. Now Database hostname is changing. 2 months 4 weeks ago #111184

  • c_schmitz
  • c_schmitz's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 810
  • Thank you received: 115
  • Karma: 93
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.
Support us, too. Donate to the LimeSurvey project and help keep us going!
The administrator has disabled public write access.
The following user(s) said Thank You: rydesign
Moderators: ITEd
Time to create page: 0.100 seconds
Donation Image