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: "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 Installing-Moodle-on-Local-Server 09-10 min 50-60 sec
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)
Login to add comment