MySQL is not working anymore

Problems with the Windows version of XAMPP, questions, comments, and anything related.

MySQL is not working anymore

Postby jdemirjian » 05. February 2024 12:12

Helllo,

I have XAMPP downloaded in my Windows because I use to to activate my local host LimeSurvey for research data collection. It was working perfectly fine, but now it doesn't after updating my laptop. I only need to activate Apache and MySQL and here is the error:

11:44:41 AM [main] Initializing Control Panel
11:44:41 AM [main] Windows Version: Enterprise 64-bit
11:44:41 AM [main] XAMPP Version: 8.2.4
11:44:41 AM [main] Control Panel Version: 3.3.0 [ Compiled: Apr 6th 2021 ]
11:44:41 AM [main] You are not running with administrator rights! This will work for
11:44:41 AM [main] most application stuff but whenever you do something with services
11:44:41 AM [main] there will be a security dialogue or things will break! So think
11:44:41 AM [main] about running this application with administrator rights!
11:44:41 AM [main] XAMPP Installation Directory: "c:\xampp\"
11:44:41 AM [main] Checking for prerequisites
11:44:41 AM [main] All prerequisites found
11:44:41 AM [main] Initializing Modules
11:44:41 AM [Apache] XAMPP Apache is already running on port 80
11:44:41 AM [Apache] XAMPP Apache is already running on port 443
11:44:41 AM [main] Starting Check-Timer
11:44:41 AM [main] Control Panel Ready
11:44:45 AM [mysql] Attempting to start MySQL app...
11:44:46 AM [mysql] Status change detected: running
11:44:47 AM [mysql] Status change detected: stopped
11:44:47 AM [mysql] Error: MySQL shutdown unexpectedly.
11:44:47 AM [mysql] This may be due to a blocked port, missing dependencies,
11:44:47 AM [mysql] improper privileges, a crash, or a shutdown by another method.
11:44:47 AM [mysql] Press the Logs button to view error logs and check
11:44:47 AM [mysql] the Windows Event Viewer for more clues
11:44:47 AM [mysql] If you need more help, copy and post this
11:44:47 AM [mysql] entire log window on the forums


Please help me what to do?

Thank you so much in advance,
Jessica
jdemirjian
 
Posts: 1
Joined: 05. February 2024 12:05
XAMPP version: 8.0.30
Operating System: Windows

Re: MySQL is not working anymore

Postby rattiekat » 05. February 2024 18:45

1. open xampp/mysql/data
2. stop apache from running
3. delete this file in data folder(aria_log_control)
4.exit file manager
start apache and mysql
rattiekat
 
Posts: 1
Joined: 05. February 2024 18:31
XAMPP version: 3.3.0
Operating System: windows

Re: MySQL is not working anymore

Postby Nobbie » 05. February 2024 20:16

And in future, run Apache and MySQL as "Service" (see the Options in Xampp Control Panel). This (and only this) avoids crashing your database when you shutdown your PC.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 201 guests