XAMPP - MySQL Shutdown unexpectedly, even after changing the port - mysql

I have tried to change all the ports to 3007. I have also tried to delete the ibdata1 file in my C:\xampp\mysql\data folder. Unfortunately none of these options worked for me.
The error log I get is the following:
2020-01-31 0:10:35 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-01-31 0:10:35 0 [Note] InnoDB: Uses event mutexes
2020-01-31 0:10:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-01-31 0:10:35 0 [Note] InnoDB: Number of pools: 1
2020-01-31 0:10:35 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-01-31 0:10:35 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-01-31 0:10:35 0 [Note] InnoDB: Completed initialization of buffer pool
2020-01-31 0:10:35 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-01-31 0:10:35 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-01-31 0:10:35 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-01-31 0:10:35 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-01-31 0:10:35 0 [Note] InnoDB: 10.4.11 started; log sequence number 47215; transaction id 7
2020-01-31 0:10:35 0 [Note] InnoDB: !!! innodb_force_recovery is set to 4 !!!
2020-01-31 0:10:35 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-01-31 0:10:35 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-01-31 0:10:35 0 [Note] InnoDB: Buffer pool(s) load completed at 200131 0:10:35
2020-01-31 0:10:35 0 [Note] Server socket created on IP: '::'.
Edit: I reinstalled XAMPP and it worked. Not sure what happened or why it now works.

Related

How to fix "MySQL Shut Down Unexpectantly Error" on XAMPP

After I shut down my laptop MySQL on XAMPP won't run. It happened before so I overwrote the files from the backup folder in XAMPP. It's happened again and I don't know why. Also all the site I was working on completely disappeared from wordpress after the overwrite. Here is the error log.
2022-12-01 9:40:12 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-12-01 9:40:12 0 [Note] InnoDB: Uses event mutexes
2022-12-01 9:40:12 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-12-01 9:40:12 0 [Note] InnoDB: Number of pools: 1
2022-12-01 9:40:12 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-12-01 9:40:12 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-12-01 9:40:12 0 [Note] InnoDB: Completed initialization of buffer pool
2022-12-01 9:40:12 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-12-01 9:40:12 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-12-01 9:40:12 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-12-01 9:40:12 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-12-01 9:40:12 0 [Note] InnoDB: Waiting for purge to start
2022-12-01 9:40:12 0 [Note] InnoDB: 10.4.25 started; log sequence number 7916413; transaction id 3828
2022-12-01 9:40:12 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-12-01 9:40:12 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-12-01 9:40:12 0 [Note] Server socket created on IP: '::'.
Tried to overwrite the backup files to reset it, however my wordpress site isn't showing up and after a laptop reboot, it's happened again.

xampp MySQL won't start anymore

I am unable to start the mysql service from xampp control panel. It worked yesterday but stopped working as of sudden today. This is the mysql error log file (mysql_error.log):
InnoDB: using atomic writes.
2021-02-01 14:32:27 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-02-01 14:32:27 0 [Note] InnoDB: Uses event mutexes
2021-02-01 14:32:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-02-01 14:32:27 0 [Note] InnoDB: Number of pools: 1
2021-02-01 14:32:27 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-02-01 14:32:27 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-02-01 14:32:27 0 [Note] InnoDB: Completed initialization of buffer pool
2021-02-01 14:32:27 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-02-01 14:32:27 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-02-01 14:32:27 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-02-01 14:32:27 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-02-01 14:32:27 0 [Note] InnoDB: Waiting for purge to start
2021-02-01 14:32:27 0 [Note] InnoDB: 10.4.11 started; log sequence number 59458941; transaction id 147015
2021-02-01 14:32:27 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-02-01 14:32:27 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-02-01 14:32:27 0 [Note] Server socket created on IP: '::'.
And there is no result from the command netstat -ano|find "3306" in windows 10, so no other application is using the port. I also tried changing the port, but did not work either.
Any suggestions?

XAMPP MYSQL start and stop after 3 seconds

Does anyone know what's this error log mean ? please help me fix my mysql
2021-01-09 14:04:02 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-01-09 14:04:02 0 [Note] InnoDB: Uses event mutexes
2021-01-09 14:04:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-01-09 14:04:02 0 [Note] InnoDB: Number of pools: 1
2021-01-09 14:04:02 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-01-09 14:04:02 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-01-09 14:04:02 0 [Note] InnoDB: Completed initialization of buffer pool
2021-01-09 14:04:02 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-01-09 14:04:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-01-09 14:04:02 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-01-09 14:04:02 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-01-09 14:04:02 0 [Note] InnoDB: Waiting for purge to start
2021-01-09 14:04:02 0 [Note] InnoDB: 10.4.14 started; log sequence number 839185; transaction id 1714
2021-01-09 14:04:02 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-01-09 14:04:02 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-01-09 14:04:02 0 [Note] Server socket created on IP: '::'.
2021-01-09 14:04:02 0 [Note] InnoDB: Buffer pool(s) load completed at 210109 14:04:02
i'd been searching for every solution but every solutions refer to delete everything in here
c:\xampp\mysql\data\
but i don't want because i'll lose all of the database
i'm using this mysql with laravel migrations
Go to Xampp>mysql>backup. Simply copy all the files of backup folder then goto
Xampp>mysql>data folder path. Simply Select all files by pressing Ctrl+A then paste (press Ctrl+V).
By this process it replace mendatory files of MySQL Service.

XAMPP MYSQL refuse to start

I'm using XAMPP version 3.2.4 and it was working normally for a while, but suddenly today when trying to start MYSQL it refuse to start and logs file display:
InnoDB: using atomic writes.
2020-08-03 12:08:25 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-08-03 12:08:25 0 [Note] InnoDB: Uses event mutexes
2020-08-03 12:08:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-08-03 12:08:25 0 [Note] InnoDB: Number of pools: 1
2020-08-03 12:08:25 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-08-03 12:08:25 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-08-03 12:08:25 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-03 12:08:26 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-08-03 12:08:26 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-08-03 12:08:26 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-08-03 12:08:26 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-08-03 12:08:26 0 [Note] InnoDB: Waiting for purge to start
2020-08-03 12:08:26 0 [Note] InnoDB: 10.4.11 started; log sequence number 2055444129; transaction id 138579
2020-08-03 12:08:26 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-08-03 12:08:26 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-08-03 12:08:26 0 [Note] Server socket created on IP: '::'.
and as you see all are notes and no error but when I check to windows event viewer I found this error:
Failed to create a new master info file (file
'C:\xampp\mysql\data\master-2020#002d08#002d03#0020#00201#003a01#003a27#002016#0020#005bwarning#005d#0020aborted#0020connection#002016#0020to#0020db#003a#0020#0027ts_ninja#0027#0020user#003a#0020#0027root#0027#0020host#003a#0020#0027localhost#0027#0020#0028got#0020an#0020error#0020reading#0020communication#0020packets#0029#000d.info',
errno 2)
, I tried to change max_allowed_packet=128M from 1M but still the same, any help will be appreciated (note that Apache successfully start)

mysql shutdown unexpectedly xampp, socket created on IP: '::' error log

I am facing a problem in xampp, mysql doesn't running, i have searched a lot for a solution and tried a many of them, but no one fixed, my problem, i think the error log is different this time,
errors log :
2020-01-21 13:12:04 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-01-21 13:12:04 0 [Note] InnoDB: Uses event mutexes
2020-01-21 13:12:04 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-01-21 13:12:04 0 [Note] InnoDB: Number of pools: 1
2020-01-21 13:12:04 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-01-21 13:12:04 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk
size = 16M
2020-01-21 13:12:04 0 [Note] InnoDB: Completed initialization of buffer pool
2020-01-21 13:12:04 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-01-21 13:12:04 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-01-21 13:12:04 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB.
Physically writing the file full; Please wait ...
2020-01-21 13:12:04 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-01-21 13:12:04 0 [Note] InnoDB: Waiting for purge to start
2020-01-21 13:12:04 0 [Note] InnoDB: 10.4.6 started; log sequence number 113908; transaction id 9
2020-01-21 13:12:04 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-01-21 13:12:04 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-01-21 13:12:04 0 [Note] InnoDB: Buffer pool(s) load completed at 200121 13:12:04
2020-01-21 13:12:04 0 [Note] Server socket created on IP: '::'.