General help

Database Conenction failed

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Frank B
Re: Now looks more of a Server problem than Moodle one.

Sure, normally that is given to them on the control panel when they create the database. It will usually ask them for a database(among other things) and then display <prefix>_<database name> with the credentials selected.

If it was created by an installer it would be a moot point since the installer takes care of creating the database and putting the correct name in the config.php, among other things.

Average of ratings: -
Picture of Ken Task
Re: Now looks more of a Server problem than Moodle one.
Group Particularly helpful Moodlers

Sorry to dis-agree in this case ... not a moot point IF the op is now trying to install manually.  Customer would have to know those when doing the web based portion of the installation - or be able to look them up while doing the install.

As far as prefixes are concerned ... isn't it possible to use one DB for multiple moodles (even of different versions) IF one uses a different table prefix for each installation?  Personally, wouldn't do it, but it could be done.  Maybe some hosting providers do - dunno that for a fact and am not saying LunarPages does, however, offering $cheapo per month must mean the provider has found some ways to reduce their cost.

Prefix for the DB name more of an aid to user as well as tech support on a shared DB system.

This is why I suggested yet another install via their script ... then inspect the config.php file to see what the script inserted.  Next time op wants to manually create another Moodle site, the particulars for the specific provider are known and the op can adjust.

'spirit of sharing', Ken


Average of ratings: -