MYSQL shutdown unexpectedly -

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

MYSQL shutdown unexpectedly -

Postby KickingAustin » 23. November 2019 19:59

Im having an issue starting up the MYSQL in the xampp server. It was running fine a couple of days ago and now it doesn't even start. It immidiately shutsdown. Can anybody give my any hints?
I'm running windows 10 and it last updated 5 days ago. I dual boot Ubuntu but I doubt its causing any trouble. Thanks in advance

11:44:32 AM [mysql] Attempting to start MySQL app...
11:44:32 AM [mysql] Status change detected: running
11:44:34 AM [mysql] Status change detected: stopped
11:44:34 AM [mysql] Error: MySQL shutdown unexpectedly.
11:44:34 AM [mysql] This may be due to a blocked port, missing dependencies,
11:44:34 AM [mysql] improper privileges, a crash, or a shutdown by another method.
11:44:34 AM [mysql] Press the Logs button to view error logs and check
11:44:34 AM [mysql] the Windows Event Viewer for more clues
11:44:34 AM [mysql] If you need more help, copy and post this
11:44:34 AM [mysql] entire log window on the forumsLog:

Here is the log:-
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
InnoDB: using atomic writes.----
2019-11-23 11:44:32 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-23 11:44:32 0 [Note] InnoDB: Uses event mutexes
2019-11-23 11:44:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-23 11:44:32 0 [Note] InnoDB: Number of pools: 1
2019-11-23 11:44:32 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-23 11:44:32 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-23 11:44:32 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-23 11:44:32 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-23 11:44:32 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-23 11:44:32 0 [Note] InnoDB: Setting file 'D:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-23 11:44:32 0 [Note] InnoDB: File 'D:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-11-23 11:44:32 0 [Note] InnoDB: Waiting for purge to start
2019-11-23 11:44:32 0 [Note] InnoDB: 10.4.8 started; log sequence number 864889; transaction id 651
2019-11-23 11:44:32 0 [Note] InnoDB: Loading buffer pool(s) from D:\xampp\mysql\data\ib_buffer_pool
2019-11-23 11:44:32 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-23 11:44:32 0 [Note] Server socket created on IP: '::'.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Windows Event Viewer log:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="MariaDB" />
<EventID Qualifiers="49152">100</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2019-11-23T18:44:32.655882000Z" />
<EventRecordID>23734</EventRecordID>
<Channel>Application</Channel>
<Computer>DESKTOP-CFUSRR1</Computer>
<Security />
</System>
- <EventData>
<Data>mysqld.exe: Table '.\mysql\db' is marked as crashed and last (automatic?) repair failed</Data>
</EventData>
</Event>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

just before the error Windows loged this but not as an error.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="MariaDB" />
<EventID Qualifiers="49152">100</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2019-11-23T18:44:32.653881400Z" />
<EventRecordID>23733</EventRecordID>
<Channel>Application</Channel>
<Computer>DESKTOP-CFUSRR1</Computer>
<Security />
</System>
- <EventData>
<Data>Server socket created on IP: '::'.</Data>
</EventData>
</Event>
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-


Compare the SQL error log to the log of a successful start
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
InnoDB: using atomic writes.
2019-11-19 2:04:34 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-11-19 2:04:34 0 [Note] InnoDB: Uses event mutexes
2019-11-19 2:04:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-19 2:04:34 0 [Note] InnoDB: Number of pools: 1
2019-11-19 2:04:34 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-19 2:04:34 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-11-19 2:04:34 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-19 2:04:35 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=300288
2019-11-19 2:04:35 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-19 2:04:35 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-19 2:04:35 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-19 2:04:35 0 [Note] InnoDB: Setting file 'D:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-19 2:04:35 0 [Note] InnoDB: File 'D:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-11-19 2:04:35 0 [Note] InnoDB: Waiting for purge to start
2019-11-19 2:04:35 0 [Note] InnoDB: 10.4.8 started; log sequence number 300297; transaction id 171
2019-11-19 2:04:35 0 [Note] InnoDB: Loading buffer pool(s) from D:\xampp\mysql\data\ib_buffer_pool
2019-11-19 2:04:35 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-19 2:04:35 0 [Note] Server socket created on IP: '::'.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
KickingAustin
 
Posts: 2
Joined: 23. November 2019 19:27
XAMPP version: 3.2.4
Operating System: Windows 10 -Dualboot Ubuntu 18

Re: MYSQL shutdown unexpectedly -

Postby KickingAustin » 25. November 2019 20:26

I found an answer here. A particular table somehow became corrupted. Apparently its a known bug with the Windows edition xampp.

https://stackoverflow.com/questions/57128891/how-repair-corrupt-xampp-mysql-user-table
KickingAustin
 
Posts: 2
Joined: 23. November 2019 19:27
XAMPP version: 3.2.4
Operating System: Windows 10 -Dualboot Ubuntu 18


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 181 guests