Installation of Moodle - Problems already!

Installation of Moodle - Problems already!

by Stuart Walsh -
Number of replies: 4
I have just uploaded Moodle 1.9 onto my webserver and have this problem come up when it asks me to configure the database section of the installation.

This is what come up:

Now you need to configure the database where most Moodle data will be stored. This database must already have been created and a username and password created to access it.

ype: MySQL
Host: eg localhost or db.isp.com
Name: database name, eg moodle
User: your database username
Password: your database password
Tables Prefix: prefix to use for all table names (optional)

Note: The installer will try to create the database automatically if not exists.

We could not connect to the database you specified. Please check your database settings.


I hope someone can help me, I need it for my senior classes at high school urgently.


Regards
Stuart



Average of ratings: -
In reply to Stuart Walsh

Re: Installation of Moodle - Problems already!

by Matt Molloy -

Hi Stuart,

  • Moodle needs access to a database to function. This can be MySQL. This database can be running on the same machine (then you would specify the host as localhost), or another machine (point your installation at this machine).
  • You can name the database whatever you wish, in this case the suggestion is moodle.
  • You need to specify a username and password to allow moodle to connect to the database.
  • Go to your database, create a blank database, give it a name ('moodle' is the suggestion) and then run your install script.
  • Once Moodle can connect to the specified database, it will populate it during the install phase.

Matt

In reply to Matt Molloy

Re: Installation of Moodle - Problems already!

by Stuart Walsh -
Hi Matt

Thanks so much for getting back to me, but all that went over my head, as it's not a very intuitive site to get up and running, my mind can't quite grasp what you mean by dot point 1 or dot point 4.

Stuart
In reply to Stuart Walsh

Re: Installation of Moodle - Problems already!

by Just H -
Hi Stuart

Bottom line, you need to create a database for Moodle to use (see here).

If you still can't figure it out, post back with more detail so people can help i.e. OS of server, what control panel if any, what level of access you have etc.

Good luck
H
In reply to Stuart Walsh

Re: Installation of Moodle - Problems already!

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
The manual installation does, I'm afraid, assume at least some system administration skill.

The good news is that it isn't too hard to get. Google knows everything!! You should check out the basics of installing and configuring MySQL for whatever platform you are trying to install Moodle on. You really do only need the basics and MySQL is so common you should find lots of info.

If it's a Linux box then you are laughing (!). MySQL is almost certainly an optional install - if it isn't installed already. For example installing Ubuntu Server asks you during the install process if you want a 'LAMP' (Linux Apache MySQL PHP) server - and that's it done.