Welcome, Guest
Username: Password:

TOPIC: remote db server

remote db server 2 years 1 month ago #106467

  • rvenkat
  • rvenkat's Avatar
  • Offline
  • Premium Lime
  • Posts: 42
  • Thank you received: 1
  • Karma: 2
We tried to install Limesurvey last week with the Limesurvey application on one server and MySQL on a second (remote) server. Install failed because it was unable to make the connection to the remote server.

Then we went back to a setup that we know works, which is db and Limesurvey on the same server. We were able to install successfully.

For security reasons it would be nice to have the database on a different server, but it appears that is not possible with Limesurvey.

I found an older post on the same topic, which is consistent with my experience.

I just thought I'd share this with the community.
The administrator has disabled public write access.

remote db server 2 years 1 month ago #106475

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8718
  • Thank you received: 1214
  • Karma: 360

It's possible with limesurvey, just set the good server name and the good user/name. And open ports on DB server.

Possible problem :
- your DB user have access only by @localhost
- your server don't hear at his public IP, but only on an internal IP (lot of hoster do like this OVH is an example).

Before say it's LimeSurvey, try with SSH:
mysql -u fooUser -p -h YOURHOST
Last Edit: 2 years 1 month ago by DenisChenu. Reason: Add more information
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.177 seconds