Databases: Database connection failed

Databases: Database connection failed

by 艳萍 高 -
Number of replies: 0

Hi!everyone

when I install moodle2.0,I meet some questions,as follows:

moodle arrive at the page of database ,settings as below:

after config.php's settings appears

I copy config.php to the root directory of moodle,after click idcontinue,appear to be a blank page ,if I change $CFG->dbhost ='localhost' of config.php $CFG->dbhost ='192.168.1.9',it appear as follows:

Error: Database connection failed

It is possible that the database is overloaded or otherwise not running properly.

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

how to do ?

Average of ratings: -