Error: MySQL shutdown unexpectedly.

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

Error: MySQL shutdown unexpectedly.

Postby mageym » 10. March 2024 21:08

Hello,

I am trying to connect to Apache and MySQL and I receive a message telling that there is a problem with MySQL.

Can you help me with that please ?

15:53:51 [main] Initializing Control Panel
15:53:51 [main] Windows Version: Home 64-bit
15:53:51 [main] XAMPP Version: 8.2.12
15:53:51 [main] Control Panel Version: 3.3.0 [ Compiled: Apr 6th 2021 ]
15:53:51 [main] You are not running with administrator rights! This will work for
15:53:51 [main] most application stuff but whenever you do something with services
15:53:51 [main] there will be a security dialogue or things will break! So think
15:53:51 [main] about running this application with administrator rights!
15:53:51 [main] XAMPP Installation Directory: "c:\xampp\"
15:53:51 [main] Checking for prerequisites
15:53:52 [main] All prerequisites found
15:53:52 [main] Initializing Modules
15:53:52 [main] Starting Check-Timer
15:53:52 [main] Control Panel Ready
15:54:16 [Apache] Attempting to start Apache app...
15:54:16 [Apache] Status change detected: running
15:54:19 [mysql] Attempting to start MySQL app...
15:54:19 [mysql] Status change detected: running
15:54:20 [mysql] Status change detected: stopped
15:54:20 [mysql] Error: MySQL shutdown unexpectedly.
15:54:20 [mysql] This may be due to a blocked port, missing dependencies,
15:54:20 [mysql] improper privileges, a crash, or a shutdown by another method.
15:54:20 [mysql] Press the Logs button to view error logs and check
15:54:20 [mysql] the Windows Event Viewer for more clues
15:54:20 [mysql] If you need more help, copy and post this
15:54:20 [mysql] entire log window on the forums
16:06:07 [mysql] Attempting to start MySQL app...
16:06:08 [mysql] Status change detected: running
16:06:10 [mysql] Status change detected: stopped
16:06:10 [mysql] Error: MySQL shutdown unexpectedly.
16:06:10 [mysql] This may be due to a blocked port, missing dependencies,
16:06:10 [mysql] improper privileges, a crash, or a shutdown by another method.
16:06:10 [mysql] Press the Logs button to view error logs and check
16:06:10 [mysql] the Windows Event Viewer for more clues
16:06:10 [mysql] If you need more help, copy and post this
16:06:10 [mysql] entire log window on the forums
mageym
 
Posts: 2
Joined: 10. March 2024 21:03
XAMPP version: v3.3.0
Operating System: Windows

Re: Error: MySQL shutdown unexpectedly.

Postby musicmaster » 12. March 2024 14:56

It looks like your Mysql crashed. There are basically two approaches. One is the deleting some history files and restarting. The other is creating a new installation and copying some files there. For me usually only the last one works.

See:
https://stackoverflow.com/questions/411 ... a/70971498
and
https://stackoverflow.com/questions/109 ... -frm-files
musicmaster
 
Posts: 34
Joined: 07. July 2016 19:47
XAMPP version: latest
Operating System: Windows

Re: Error: MySQL shutdown unexpectedly.

Postby mageym » 21. March 2024 22:38

Thank you very much for answering.
mageym
 
Posts: 2
Joined: 10. March 2024 21:03
XAMPP version: v3.3.0
Operating System: Windows


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 185 guests