Welcome, Guest
Username: Password: Remember me

TOPIC: Access denied

Access denied 2 years 4 months ago #77430

  • alfmullins
  • alfmullins's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Get this message when trying to access survey

Can't connect to LimeSurvey database. Reason: Access denied for user 'survey'@'192.168.0.14' (using password: YES)
The administrator has disabled public write access.

Aw: Access denied 2 years 4 months ago #77446

  • dreier
  • dreier's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Thank you received: 2
  • Karma: 3
Hey,

I would try to connect from your webserver to the database with your user "survey" manually without LimeSurvey to test if the connection to your database is okay or not.
An idea of me without knowing the details:
If you are using a MySQL Database not on the same machine as the Webserver you have to configure your Database to allow connections from other machines...

Cheers
Last Edit: 2 years 4 months ago by dreier.
The administrator has disabled public write access.

Aw: Access denied 2 years 4 months ago #77453

  • Steve
  • Steve's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • Karma: 17
Hello,

yes, it is a good idea to have a look at the database. The settings in the config.php file of your LimeSurvey installtation should match the "settings" of your database. "survey" seems to be a newly created use, did you grant the needed permissions and did you refresh the permissions?

If you want us to provide further help, please post some more information like what database/database version and LimeSurvey version you use.

The thread should be in "Installation & update issues", I'll move it there.
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
The administrator has disabled public write access.

Re: Aw: Access denied 2 years 4 months ago #77558

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5301
  • Thank you received: 291
  • Karma: 247
Please post the database settings from your config.php file (no passwords, please). Maybe you just mixed database name and database user?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.113 seconds
Donation Image