Error: MySQL shutdown unexpectedly.

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

Error: MySQL shutdown unexpectedly.

Postby Dasambo » 01. April 2021 15:57

Hello, Could anyone help me? I have this error: MySQL shutdown unexpectedly.

9:46:47 a. m. [mysql] Status change detected: stopped
9:46:47 a. m. [mysql] Error: MySQL shutdown unexpectedly.
9:46:47 a. m. [mysql] This may be due to a blocked port, missing dependencies,
9:46:47 a. m. [mysql] improper privileges, a crash, or a shutdown by another method.
9:46:47 a. m. [mysql] Press the Logs button to view error logs and check
9:46:47 a. m. [mysql] the Windows Event Viewer for more clues
9:46:47 a. m. [mysql] If you need more help, copy and post this
9:46:47 a. m. [mysql] entire log window on the forums


Logs:
2021-04-01 9:25:48 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-04-01 9:25:48 0 [Note] InnoDB: Uses event mutexes
2021-04-01 9:25:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-04-01 9:25:48 0 [Note] InnoDB: Number of pools: 1
2021-04-01 9:25:48 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-04-01 9:25:48 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-04-01 9:25:48 0 [Note] InnoDB: Completed initialization of buffer pool
2021-04-01 9:25:48 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=502386
2021-04-01 9:25:49 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-04-01 9:25:49 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2021-04-01 9:25:49 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-04-01 9:25:49 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-04-01 9:25:49 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-04-01 9:25:49 0 [Note] InnoDB: Waiting for purge to start
2021-04-01 9:25:49 0 [Note] InnoDB: 10.4.17 started; log sequence number 502395; transaction id 530
2021-04-01 9:25:49 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-04-01 9:25:49 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-04-01 9:25:50 0 [Note] InnoDB: Buffer pool(s) load completed at 210401 9:25:50
2021-04-01 9:25:50 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2021-04-01 9:26:31 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-04-01 9:26:31 0 [Note] InnoDB: Uses event mutexes
2021-04-01 9:26:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-04-01 9:26:31 0 [Note] InnoDB: Number of pools: 1
2021-04-01 9:26:31 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-04-01 9:26:31 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-04-01 9:26:31 0 [Note] InnoDB: Completed initialization of buffer pool
2021-04-01 9:26:31 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-04-01 9:26:31 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-04-01 9:26:31 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-04-01 9:26:31 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-04-01 9:26:31 0 [Note] InnoDB: Waiting for purge to start
2021-04-01 9:26:31 0 [Note] InnoDB: 10.4.17 started; log sequence number 502413; transaction id 530
2021-04-01 9:26:31 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-04-01 9:26:31 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-04-01 9:26:31 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2021-04-01 9:37:29 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-04-01 9:37:29 0 [Note] InnoDB: Uses event mutexes
2021-04-01 9:37:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-04-01 9:37:29 0 [Note] InnoDB: Number of pools: 1
2021-04-01 9:37:29 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-04-01 9:37:29 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-04-01 9:37:29 0 [Note] InnoDB: Completed initialization of buffer pool
2021-04-01 9:37:29 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-04-01 9:37:29 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-04-01 9:37:29 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-04-01 9:37:29 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-04-01 9:37:29 0 [Note] InnoDB: Waiting for purge to start
2021-04-01 9:37:29 0 [Note] InnoDB: 10.4.17 started; log sequence number 502422; transaction id 530
2021-04-01 9:37:29 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-04-01 9:37:29 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-04-01 9:37:29 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2021-04-01 9:37:37 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-04-01 9:37:37 0 [Note] InnoDB: Uses event mutexes
2021-04-01 9:37:37 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-04-01 9:37:37 0 [Note] InnoDB: Number of pools: 1
2021-04-01 9:37:37 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-04-01 9:37:37 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-04-01 9:37:37 0 [Note] InnoDB: Completed initialization of buffer pool
2021-04-01 9:37:37 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-04-01 9:37:37 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-04-01 9:37:37 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-04-01 9:37:37 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-04-01 9:37:37 0 [Note] InnoDB: Waiting for purge to start
2021-04-01 9:37:37 0 [Note] InnoDB: 10.4.17 started; log sequence number 502431; transaction id 530
2021-04-01 9:37:37 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-04-01 9:37:37 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-04-01 9:37:37 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2021-04-01 9:46:35 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-04-01 9:46:35 0 [Note] InnoDB: Uses event mutexes
2021-04-01 9:46:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-04-01 9:46:35 0 [Note] InnoDB: Number of pools: 1
2021-04-01 9:46:35 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-04-01 9:46:35 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-04-01 9:46:35 0 [Note] InnoDB: Completed initialization of buffer pool
2021-04-01 9:46:38 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-04-01 9:46:38 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-04-01 9:46:38 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-04-01 9:46:38 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-04-01 9:46:38 0 [Note] InnoDB: Waiting for purge to start
2021-04-01 9:46:38 0 [Note] InnoDB: 10.4.17 started; log sequence number 502440; transaction id 530
2021-04-01 9:46:38 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-04-01 9:46:38 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-04-01 9:46:38 0 [Note] Server socket created on IP: '::'.
Dasambo
 
Posts: 1
Joined: 01. April 2021 15:52
XAMPP version: 3.2.4
Operating System: Windows

Re: Error: MySQL shutdown unexpectedly.

Postby sofatok » 02. April 2021 10:43

Your answers can be found here: https://stackoverflow.com/questions/18022809/xampp-mysql-shutdown-unexpectedly
sofatok
 
Posts: 1
Joined: 02. April 2021 10:34
Location: New York
XAMPP version: PHP 7.1.x.
Operating System: windows

Re: Error: MySQL shutdown unexpectedly.

Postby Altrea » 02. April 2021 17:58

sofatok wrote:Your answers can be found here: https://stackoverflow.com/questions/180 ... expectedly

How do you know that this issue here is related?
If your car does not start, is there always one single reason and solution for this?

The information here do not give any hint to the real reason.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error: MySQL shutdown unexpectedly.

Postby Altrea » 23. July 2021 18:44

Hi,

DavidCroun wrote:I hope my advice helps

Well, at least you are trying to help.
But i cannot recommend trying to fix an undiscovered issue with a specific workaround.
It can help for specific issues like corrupted mysql database. But you haven't done anything to identify the specific issue.
This leads to beginner users trying to do your workaround where the issue doesn't match (like blocked port).

A better advice would be to identify the issue. The log does not give any hint for the specific issue, so the next step would be to trying to start MariaDB as console application. This can be done this way:

Try to start MariaDB as console application in XAMPP Shell with the following command and tell us what it responses.
Code: Select all
mysqld --defaults-file=mysql\bin\my.ini --standalone --console
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error: MySQL shutdown unexpectedly.

Postby pshaffer » 23. July 2021 19:45

sofatok wrote:Your answers can be found here: https://stackoverflow.com/questions/18022809/xampp-mysql-shutdown-unexpectedly


Thank you. I had a similar problem and this fix worked for me.
pshaffer
 
Posts: 2
Joined: 23. July 2021 04:39
XAMPP version: 3.2.4
Operating System: Windows 10 Home


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 115 guests