saving . . . saved Error in Database configuration page while installing in Wondows 10 even after reinstalling XAMPP has been deleted. Error in Database configuration page while installing in Wondows 10 even after reinstalling XAMPP has been hidden .
Error in Database configuration page while installing in Wondows 10 even after reinstalling XAMPP
Title
Question

Even after repeated installation from <a href="https://download.moodle.org/download.php/windows/MoodleWindowsInstaller-latest-33.zip">https://download.moodle.org/download.php/windows/MoodleWindowsInstaller-latest-33.zip</a>

The database user  showing 'root'

After clicking next , user  changed to moodle-st,

after clicking, the following message shown:

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: mysqli::__construct(): (HY000/1045): Access denied for user 'moodle-st'@'localhost' (using password: YES) in C:\Moodle\server\moodle\lib\dml\mysqli_native_moodle_database.php on line 79



Further, in XAMPP control panel v3.2.2 the following  is showing in red color:

9:53:22 AM  [Tomcat]     Problem detected: Tomcat Not Found!
9:53:22 AM  [Tomcat]     Disabling Tomcat buttons
9:53:22 AM  [Tomcat]     Run this program from your XAMPP root directory!
9:53:22 AM  [Tomcat]     Problem detected: Required Tool catalina_start.bat Not Found!
9:53:22 AM  [Tomcat]     Problem detected: Required Tool catalina_stop.bat Not Found!
9:53:22 AM  [Tomcat]     Problem detected: Required Tool catalina_service.bat Not Found!

Moodle-Learning-Management-System Installing-Moodle-on-Local-Server 00-01 min 0-10 sec 02-09-20, 9:22 p.m. ujjal.dey@ee.jgec.ac.in

Answers:

This could be because XAMPP was not installed properly on your system. Please reinstall XAMPP and try again.
03-09-20, 2:16 p.m. NirmalaVenkat
Where from to install XAMPP?

03-09-20, 4:19 p.m. ujjal.dey@ee.jgec.ac.in

Login to add comment


Please follow the steps in the installation sheet (2nd page) to install Moodle on Windows 10 in the below link.

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

Do all the steps as given in the sheet. Restart the XAMPP and try again.

The error in the above thread shows that the XAMPP is not running.


03-09-20, 4:33 p.m. NirmalaVenkat
Already done several times , even mentioned in the top of my query

Even after repeated installation from <a href="https://download.moodle.org/download.php/windows/MoodleWindowsInstaller-latest-33.zip">https://download.moodle.org/download.php/windows/MoodleWindowsInstaller-latest-33.zip</a>

this link is available in https://spoken-tutorial.org/media/videos/97/Moodle-Learning-Management-System-Installation-Sheet-English.pdf only
03-09-20, 4:44 p.m. ujjal.dey@ee.jgec.ac.in

Login to add comment



Check the steps 6,7,8 in the sheet. The xampp service should run without any errors. Rectify the error and then install moodle.

In your computer, check whether the port is occupied by some other software. You need to assign different port number if it gives error.
03-09-20, 4:48 p.m. NirmalaVenkat
'Apache' and 'Mysql' are running

in XAMPP control panel v3.2.2 the following  is showing in red color:

9:53:22 AM  [Tomcat]     Problem detected: Tomcat Not Found!
9:53:22 AM  [Tomcat]     Disabling Tomcat buttons
9:53:22 AM  [Tomcat]     Run this program from your XAMPP root directory!
9:53:22 AM  [Tomcat]     Problem detected: Required Tool catalina_start.bat Not Found!
9:53:22 AM  [Tomcat]     Problem detected: Required Tool catalina_stop.bat Not Found!
9:53:22 AM  [Tomcat]     Problem detected: Required Tool catalina_service.bat Not Found!

"check whether the port is occupied by some other software"- how to check this??

03-09-20, 4:51 p.m. ujjal.dey@ee.jgec.ac.in

Login to add comment


check the below link or you can google and find it. You can ask your system administrator to look into your problem.

https://spoken-tutorial.org/media/videos/128/1377/resources/Installation-of-FrontAccounting-on-Windows-OS-Additionalmaterial.pdf
03-09-20, 5:11 p.m. NirmalaVenkat


Some helpful links:
- https://stackoverflow.com/questions/40555767/xampp-dont-start-tomcat-while-others-perfectly-start
- https://stackoverflow.com/questions/22884535/xampp-error-when-starting-tomcat

OR 

Download and install the newer version of XAMPP:
https://www.apachefriends.org/download.html

Also, how are you starting XAMPP?
Try running xampp-control.exe instead of xampp_start.exe
and in the control panel that opens up, start only 'Apache' and 'MySQL'

'Tomcat' service requires Java JDK or JRE to be installed on your system.
See this: 
http://www.sintesisdigital.com.mx/dashboard/docs/configure-use-tomcat.html#:~:text=XAMPP%20for%20Windows%20does%20not,through%20the%20XAMPP%20control%20panel.

03-09-20, 5:27 p.m. kashmira.n


Log-in to answer to this question.