Problems after install

Problems after install

by Kim Miller -
Number of replies: 3

After a recent instalation of Moodle.  The following is the error message that is received:

Error: Moodle could not connect to the database.

It's possible the database itself is just not working at the moment.

The admin should also check that the database details have been correctly specified in config.php

Database host: localhost
Database name: moodle
Database user: username

I have looked at the config.php and cannot identify any problems. 

Average of ratings: -
In reply to Kim Miller

Re: Problems after install

by W Page -
Hi!

Post  Sections 1-6 in the "config.php" file without your UserID and Password.

WP1
In reply to W Page

Re: Problems after install

by Kim Miller -

I have attached the entire config.php file.  Thanks in advance for your assistance.

Kim Miller

In reply to Kim Miller

Re: Problems after install

by Jan Dierckx -
Try changing the line that says
$CFG->dbhost    = 'localhost/moodle';   // eg localhost or db.isp.com
into
$CFG->dbhost    = 'localhost';   // eg localhost or db.isp.com