6

Just started up Xampp today and when I turn on my SQL, it simply turns off again and tells me that MySQL shutdown unexpectedly.

Here is the log:

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

If anyone can help that would be amazing!

jarlh
  • 42,561
  • 8
  • 45
  • 63
Max Loyd
  • 408
  • 6
  • 21

3 Answers3

14

I have fixed the issue. From xampp/mysql/backup/ folder i copied all files in to xampp/mysql/data/ That solved the issue.

look like the issue cause database innodb structure conflict

Teddy Zugana
  • 156
  • 1
  • 6
0

If in the mysql_error.log mentioned an error like follows.

[ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
[ERROR] Plugin 'Aria' init function returned error.
[ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.

Try deleting aria_log.####### file in the xampp\mysql\data. It worked for me.

Anu Irosh
  • 1
  • 2
-1

The above answer worked, but later I got a "table doesn't exist in engine error", then this answer helped me out. Xampp-mysql - "Table doesn't exist in engine" #1932

ZJ_
  • 1
  • 3