Error while installing moodle
Title
Question
<font color="#000000">I am getting following error while installing moodle. kindly guide me to resolve it.</font>
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
Warning<span style="color: rgb(185, 74, 72); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; background-color: rgb(242, 222, 222);">: mysqli::__construct(): (HY000/1045): Access denied for user 'moodle-st'@'localhost' (using password: YES) in </span>C:\Moodle\server\moodle\lib\dml\mysqli_native_moodle_database.php<span style="color: rgb(185, 74, 72); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; background-color: rgb(242, 222, 222);"> on line </span>79
Moodle-Learning-Management-System Getting-Ready-for-Moodle-Installation 10-11 min 40-50 sec
Answers:
Check this out: https://moodle.org/mod/forum/discuss.php?d=163173#p715118
You will find your config.php at C:\Moodle\server\moodle
Check for the settings -
$CFG->dbuser = 'moodle-st';
$CFG->dbpass = 'yourpassword';
$CFG->dbpass = 'yourpassword';
and also: https://docs.moodle.org/38/en/Installation_quick_guide#Create_a_database
Did you grant the permissions to the user 'moodle-st'@'localhost'?
It says object not found
https://drive.google.com/open?id=18_2oJHC_1MDgdDNM7dUJ1Vd35tipiPq5
Login to add comment