xaamp MySql server wont start - mysql

I have been using this for a few days with no issue but yesterday the mysql server refused to start. I have rebooted everything and it is still doing the same thing. Here is part of the log file. Please let me know how to get it back up and running and why it is doing this? This is windows 10 operating systems. Also, Apache server still starts fine.
**InnoDB: using atomic writes.
2020-11-24 15:25:23 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-11-24 15:25:23 0 [Note] InnoDB: Uses event mutexes
2020-11-24 15:25:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-11-24 15:25:23 0 [Note] InnoDB: Number of pools: 1
2020-11-24 15:25:23 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-11-24 15:25:23 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-11-24 15:25:23 0 [Note] InnoDB: Completed initialization of buffer pool
2020-11-24 15:25:23 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=300288
2020-11-24 15:25:24 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-11-24 15:25:24 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-11-24 15:25:24 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-11-24 15:25:24 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-11-24 15:25:24 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-11-24 15:25:24 0 [Note] InnoDB: Waiting for purge to start
2020-11-24 15:25:24 0 [Note] InnoDB: 10.4.16 started; log sequence number 300297; transaction id 170
2020-11-24 15:25:24 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-11-24 15:25:24 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-11-24 15:25:24 0 [Note] InnoDB: Buffer pool(s) load completed at 201124 15:25:24
2020-11-24 15:25:24 0 [Note] Server socket created on IP: '::'.
2020-11-24 19:42:47 0 [Note] mysqld.exe: Aria engine: starting recovery
recovered pages: 0% 13% 55% 81% 94% 100% (0.0 seconds); tables to flush: 2 1 0
(0.1 seconds);
2020-11-24 19:42:48 0 [Note] mysqld.exe: Aria engine: recovery done
InnoDB: using atomic writes.
2020-11-24 19:42:48 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-11-24 19:42:48 0 [Note] InnoDB: Uses event mutexes
2020-11-24 19:42:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-11-24 19:42:48 0 [Note] InnoDB: Number of pools: 1
2020-11-24 19:42:48 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-11-24 19:42:48 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-11-24 19:42:48 0 [Note] InnoDB: Completed initialization of buffer pool
2020-11-24 19:42:48 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=458268
2020-11-24 19:42:48 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-11-24 19:42:48 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-11-24 19:42:48 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-11-24 19:42:48 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-11-24 19:42:48 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-11-24 19:42:48 0 [Note] InnoDB: Waiting for purge to start
2020-11-24 19:42:48 0 [Note] InnoDB: 10.4.16 started; log sequence number 458277; transaction id 670
2020-11-24 19:42:48 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-11-24 19:42:48 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-11-24 19:42:48 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-11-25 11:28:55 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-11-25 11:28:55 0 [Note] InnoDB: Uses event mutexes
2020-11-25 11:28:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-11-25 11:28:55 0 [Note] InnoDB: Number of pools: 1
2020-11-25 11:28:55 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-11-25 11:28:55 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-11-25 11:28:55 0 [Note] InnoDB: Completed initialization of buffer pool
2020-11-25 11:28:55 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=458587
2020-11-25 11:28:55 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-11-25 11:28:55 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-11-25 11:28:55 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-11-25 11:28:55 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-11-25 11:28:55 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-11-25 11:28:55 0 [Note] InnoDB: Waiting for purge to start
2020-11-25 11:28:55 0 [Note] InnoDB: 10.4.16 started; log sequence number 458596; transaction id 693
2020-11-25 11:28:55 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-11-25 11:28:55 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-11-25 11:28:55 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.**

Copy from xampp/mysql/backup folder and paste in xampp/mysql/data folder except ibdata1 file.
If you replace ibdata1 file from xampp/mysql/data then some database you will get error table does not exist.
found this here...
XAMPP MySQL service crash after reboot

Related

Get Error: MySQL shutdown unexpectedly. when start MySQL in xampp

I have problem in Xampp when i want to start MySQL and get error "Error: MySQL shutdown unexpectedly."
Here the error log
2022-07-28 9:47:14 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-07-28 9:47:14 0 [Note] InnoDB: Uses event mutexes
2022-07-28 9:47:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-07-28 9:47:14 0 [Note] InnoDB: Number of pools: 1
2022-07-28 9:47:14 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-07-28 9:47:14 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-07-28 9:47:14 0 [Note] InnoDB: Completed initialization of buffer pool
2022-07-28 9:47:16 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-07-28 9:47:16 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-07-28 9:47:16 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-07-28 9:47:16 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-07-28 9:47:16 0 [Note] InnoDB: Waiting for purge to start
2022-07-28 9:47:16 0 [Note] InnoDB: 10.4.11 started; log sequence number 504726462; transaction id 1232685
2022-07-28 9:47:16 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-07-28 9:47:16 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-07-28 9:47:16 0 [Note] InnoDB: Buffer pool(s) load completed at 220728 9:47:16
2022-07-28 9:47:16 0 [Note] Server socket created on IP: '::'.
What can i do to solve this?

How to load a 34 MB file by UPDATE into a BLOB-field of a mysql-table

When I tried to load the 34 MB file, the following error-messages appeared:
"MySQL server has gone away"
2021-09-20 17:01:44 0 [Note] Server socket created on IP: '::'.
2021-09-21 21:57:54 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-09-21 21:57:54 0 [Note] InnoDB: Uses event mutexes
2021-09-21 21:57:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-09-21 21:57:54 0 [Note] InnoDB: Number of pools: 1
2021-09-21 21:57:54 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-09-21 21:57:54 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-09-21 21:57:54 0 [Note] InnoDB: Completed initialization of buffer pool
2021-09-21 21:57:55 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=16069708
2021-09-21 21:57:58 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-09-21 21:57:58 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2021-09-21 21:57:58 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-09-21 21:57:58 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-09-21 21:57:58 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-09-21 21:57:58 0 [Note] InnoDB: Waiting for purge to start
2021-09-21 21:57:58 0 [Note] InnoDB: Waiting for purge to start
2021-09-21 21:57:58 0 [Note] InnoDB: 10.4.20 started; log sequence number 16069717; transaction id 2957
2021-09-21 21:57:58 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-09-21 21:57:58 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-09-21 21:57:58 0 [Note] InnoDB: Buffer pool(s) load completed at 210921 21:57:58
2021-09-21 21:57:58 0 [Note] Server socket created on IP: '::'.
My filesize (34 MB) is larger than the buffer size (16 MB).
All 128 of 128 rollback segments are active.
What can I do to load my file into a BLOB-field?

Error: MySQL shutdown unexpectedly. on xampp

I face the following error in xampp.
InnoDB: using atomic writes.
2020-12-07 14:49:27 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-12-07 14:49:27 0 [Note] InnoDB: Uses event mutexes
2020-12-07 14:49:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-12-07 14:49:27 0 [Note] InnoDB: Number of pools: 1
2020-12-07 14:49:27 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-12-07 14:49:27 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-12-07 14:49:27 0 [Note] InnoDB: Completed initialization of buffer pool
2020-12-07 14:49:27 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-12-07 14:49:27 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-12-07 14:49:27 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-12-07 14:49:27 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-12-07 14:49:27 0 [Note] InnoDB: Waiting for purge to start
2020-12-07 14:49:27 0 [Note] InnoDB: 10.4.10 started; log sequence number 280252366; transaction id 231680
2020-12-07 14:49:27 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-12-07 14:49:27 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-12-07 14:49:27 0 [Note] Server socket created on IP: '::'.
2020-12-07 14:49:27 0 [Note] InnoDB: Buffer pool(s) load completed at 201207 14:49:27
InnoDB: using atomic writes.
2020-12-07 14:50:05 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-12-07 14:50:05 0 [Note] InnoDB: Uses event mutexes
2020-12-07 14:50:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-12-07 14:50:05 0 [Note] InnoDB: Number of pools: 1
2020-12-07 14:50:05 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-12-07 14:50:05 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-12-07 14:50:05 0 [Note] InnoDB: Completed initialization of buffer pool
2020-12-07 14:50:05 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-12-07 14:50:05 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-12-07 14:50:05 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-12-07 14:50:05 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-12-07 14:50:05 0 [Note] InnoDB: Waiting for purge to start
2020-12-07 14:50:05 0 [Note] InnoDB: 10.4.10 started; log sequence number 280252375; transaction id 231680
2020-12-07 14:50:05 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-12-07 14:50:05 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-12-07 14:50:05 0 [Note] Server socket created on IP: '::'.
2020-12-07 14:50:05 0 [Note] InnoDB: Buffer pool(s) load completed at 201207 14:50:05
I try changing the port from 3306 to 3308 then I change it to 3307. Also, I try upgrading the size from 2MB to 200MB. Also I try this methods: Error: MySQL shutdown unexpectedly. on xampp-control Couldn't start mysql even when there is no services using port 3306
If you have any information regarding this problem, please let me know.
After searching and testing different methods, I found the answer, I just run setup_xampp.bat in xampp directory, and after that, the program starts working.

Xampp MySQL shutdown unexpectedly Plugin 'FEEDBACK' is disabled

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!
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

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: '::'.