saving . . . saved Following error (Database connection failed) while installing Moodle in Windows 10. How to fix? has been deleted. Following error (Database connection failed) while installing Moodle in Windows 10. How to fix? has been hidden .
Following error (Database connection failed) while installing Moodle in Windows 10. How to fix?
Title
Question

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: &quot;Helvetica Neue&quot;, 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: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: rgb(242, 222, 222);"> on line </span>79

Moodle-Learning-Management-System Installing-Moodle-on-Local-Server 09-10 min 50-60 sec 05-05-20, 6:39 a.m. jobycg2005

Answers:

This is because XAMPP was not installed properly on your system. Please reinstall XAMPP and try again.


Please follow the steps given in the below link:(see page 2 for windows installation)

https://spoken-tutorial.org/media/videos/97/Moodle-Learning-Management-System-Installation-Sheet-English.pdf


05-05-20, 2:15 p.m. NirmalaVenkat


Log-in to answer to this question.