"Error: MySQL shutdown unexpectedly XAMPP " How to solve this?

Viewed 28

when I start MySQL on my XAMPP it starts for a few time then it gets stopped.

on the error log I got this--

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

I changed the port thing happens.

I also did these--

  1. Rename folder mysql/data to mysql/data_old
  2. Make a copy of mysql/backup folder and name it as mysql/data
  3. Copy all your database folders from mysql/data_old into mysql/data (except mysql, performance_schema, and phpmyadmin folders)
  4. Copy mysql/data_old/ibdata1 file into mysql/data folder
  5. Start MySQL from XAMPP control panel

How do I solve this??

0 Answers
Related