Page 1 of 1

Error: MySQL shutdown unexpectedly.

PostPosted: 01. April 2021 15:57
by Dasambo
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: '::'.

Re: Error: MySQL shutdown unexpectedly.

PostPosted: 02. April 2021 10:43
by sofatok
Your answers can be found here: https://stackoverflow.com/questions/18022809/xampp-mysql-shutdown-unexpectedly

Re: Error: MySQL shutdown unexpectedly.

PostPosted: 02. April 2021 17:58
by Altrea
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.

Re: Error: MySQL shutdown unexpectedly.

PostPosted: 23. July 2021 18:44
by Altrea
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

Re: Error: MySQL shutdown unexpectedly.

PostPosted: 23. July 2021 19:45
by pshaffer
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.