When I open XAMPP (xampp v3.2.4 in windows 10) and click start MySQL button and it gives me an error. I had started it just before, but now it isn't working.
error:
12:50:26 PM [mysql] Status change detected: stopped
12:50:26 PM [mysql] Error: MySQL shutdown unexpectedly.
12:50:26 PM [mysql] This may be due to a blocked port, missing dependencies,
12:50:26 PM [mysql] improper privileges, a crash, or a shutdown by another method.
12:50:26 PM [mysql] Press the Logs button to view error logs and check
12:50:26 PM [mysql] the Windows Event Viewer for more clues
12:50:26 PM [mysql] If you need more help, copy and post this
12:50:26 PM [mysql] entire log window on the forums
so, I check log:
InnoDB: using atomic writes.
2020-08-01 12:50:25 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-08-01 12:50:25 0 [Note] InnoDB: Uses event mutexes
2020-08-01 12:50:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-08-01 12:50:25 0 [Note] InnoDB: Number of pools: 1
2020-08-01 12:50:25 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-08-01 12:50:25 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-08-01 12:50:25 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-01 12:50:25 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-08-01 12:50:25 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-08-01 12:50:25 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-08-01 12:50:25 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-08-01 12:50:25 0 [Note] InnoDB: Waiting for purge to start
2020-08-01 12:50:25 0 [Note] InnoDB: 10.4.11 started; log sequence number 51764883; transaction id 105083
2020-08-01 12:50:25 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-08-01 12:50:25 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-08-01 12:50:25 0 [Note] Server socket created on IP: '::'.
how do fix this error?
I fixed using this article:
Rename the “data” folder
Create a new “data” folder
Copy content from “backup” folder
Transfer all MySQL projects Database, Data file & Log files
you can end task mysqld.exe or mysqld on task manager. Then run again MySql. It will work. (On Off Engineering).