I have installed Moodle 2.8
on CentOS 7
.
I face a problem.
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
and my Config.php
is as follow:
CFG->dbtype = 'mariadb'
CFG->dblibrary = 'native'
CFG->dbhost = '192.0.0.0'
CFG->dbname = 'moodle'
CFG->dbuser = 'moodle'
CFG->dbpass = 'password'
and my data path is:ver/moodledata
and Document root is :var/www/html/moodle
How can I solve this problem. Please help me.I am new in moodle.