Accueil arrow Support arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
[done] Could not connect to database. (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: [done] Could not connect to database.
#15245
yuman725 (User)
Fresh Lemon
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
[done] Could not connect to database. 4 Months, 4 Weeks ago Karma: 0  
Error Message: Could not connect to database. If you try to install LimeSurvey please refer to the installation docs and/or contact the system administrator of this webpage.

On my hosted site, I have created a mysql database called xxx. I've updated my config.php file to have the following, but get the error message above.

//===partial setup for config.php===//

$databasetype = "mysql";
$databaselocation = "7x.1x.1xx.2xx";
$databasename = "xxx";
$databaseuser = ""; //database username for xxx
$databasepass = ""; //database password for xxx
$dbprefix = "lime_";

$rooturl = "www.myurl.org/limesurvey";
$rootdir = dirname(__FILE__);

//===========================//

Note: This database has another application running on it with the same properties, and is working fine.
 
Logged Logged  
 
Last Edit: 2008/06/25 09:59 By Mazi.
  The administrator has disabled public write access.
#15246
Mazi (Moderator)
Moderator Lime
Posts: 3211
graph
User Offline Click here to see the profile of this user
Re:Could not connect to database. 4 Months, 4 Weeks ago Karma: 25  
Did you read the manual about how to install? You have to call /limesurvey/admin/install.

I just did this for you (and edited your posted rooturl) so don't be surprised. The database is set up and populated. You only have to delete the /install folder for security reasons. After that you should be able to login at /limesurvey/admin
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#15477
yuman725 (User)
Fresh Lemon
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Could not connect to database. 4 Months, 3 Weeks ago Karma: 0  
Thank you.

You all are doing a great job.
 
Logged Logged  
  The administrator has disabled public write access.
#15511
Mazi (Moderator)
Moderator Lime
Posts: 3211
graph
User Offline Click here to see the profile of this user
Re:[done] Could not connect to database. 4 Months, 2 Weeks ago Karma: 25  
You're welcome! If our hints have been helpful and you enjoy LimeSurvey please consider a donation to the team. We do all this in our free time.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
Go to top