Welcome, Guest
Username: Password: Remember me

TOPIC: Can't connect to LimeSurvey database

Can't connect to LimeSurvey database 2 years 4 months ago #82115

  • sakeer
  • sakeer's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
I am getting an error message like this,

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

Re: Can't connect to LimeSurvey database 2 years 4 months ago #82119

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1118
  • Thank you received: 252
  • Karma: 78
I suppose it's a new installation...Is it really a local one ('localhost') ?

Check your config.php file...
You probably have indicated something wrong (in minimum) at 1 of those following lines:

$databasetype =

$databaselocation =
$databasename =
$databaseuser =
$databasepass =

// File Locations
$rooturl =


Ben/
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Last Edit: 2 years 4 months ago by Ben_V.
The administrator has disabled public write access.

Re: Can't connect to LimeSurvey database 2 years 4 months ago #82128

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
This is not a Limesurvey issue but a DB rights issue. The user you have specified at the config.php file seems to have insufficient rights.

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.111 seconds
Donation Image