by StevieB86 » 06. July 2023 10:35
I got to the bottom of this by checking Windows Event Viewer. Click the arrow next to Windows Logs and then click Application. If there are any Error messages that coincide with the exact time you tried turning on the MySQL module in XAMPP, then that could be the route of the problem.
I've experienced this just today and despite trying to fix the error by deleting certain files from the MySql/data directory, it's not made a difference. Therefore, I have pushed all the code from my project to Github as a precaution, moved the project folders out of the htdocs folder temporarily and I'm now reinstalling XAMPP.