XAMPP - MYSQL Shutdown Unexpectedly 2 - mysql

I tried to launch MySql on xampp and this error appeared
16:11:30 [mysql] Attempting to start MySQL app...
16:11:30 [mysql] Status change detected: running
16:11:33 [mysql] Status change detected: stopped
16:11:33 [mysql] Error: MySQL shutdown unexpectedly.
16:11:33 [mysql] This may be due to a blocked port, missing dependencies,
16:11:33 [mysql] improper privileges, a crash, or a shutdown by another method.
16:11:33 [mysql] Press the Logs button to view error logs and check
16:11:33 [mysql] the Windows Event Viewer for more clues
16:11:33 [mysql] If you need more help, copy and post this
16:11:33 [mysql] entire log window on the forums
2021-05-31 16:11:30 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-05-31 16:11:30 0 [Note] InnoDB: Uses event mutexes
2021-05-31 16:11:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-05-31 16:11:30 0 [Note] InnoDB: Number of pools: 1
2021-05-31 16:11:30 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-05-31 16:11:30 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2021-05-31 16:11:30 0 [Note] InnoDB: Completed initialization of buffer pool
2021-05-31 16:11:30 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-05-31 16:11:30 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-05-31 16:11:30 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-05-31 16:11:30 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2021-05-31 16:11:30 0 [Note] InnoDB: Waiting for purge to start
2021-05-31 16:11:30 0 [Note] InnoDB: 10.4.13 started; log sequence number 2590483; transaction id 4333
2021-05-31 16:11:30 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2021-05-31 16:11:30 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-05-31 16:11:30 0 [Note] Server socket created on IP: '::'.
It was completely fine until now.
What is this error and how do i fix it?

Related

MySQL not starting - XAMPP

I am new to MySQL and I don't know why but MySQL does not start with XAMPP.
I thought that the 3306 port was blocked but I checked and nothing is running on that port.
If I go to XAMPP this is what is printed:
10:23:52 [mysql] Status change detected: running
10:23:54 [mysql] Status change detected: stopped
10:23:54 [mysql] Error: MySQL shutdown unexpectedly.
10:23:54 [mysql] This may be due to a blocked port, missing dependencies,
10:23:54 [mysql] improper privileges, a crash, or a shutdown by another method.
10:23:54 [mysql] Press the Logs button to view error logs and check
10:23:54 [mysql] the Windows Event Viewer for more clues
10:23:54 [mysql] If you need more help, copy and post this
10:23:54 [mysql] entire log window on the forums
And this is the log of the error:
2020-12-16 10:17:54 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-12-16 10:17:54 0 [Note] InnoDB: Uses event mutexes
2020-12-16 10:17:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-12-16 10:17:54 0 [Note] InnoDB: Number of pools: 1
2020-12-16 10:17:54 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-12-16 10:17:54 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-12-16 10:17:54 0 [Note] InnoDB: Completed initialization of buffer pool
2020-12-16 10:17:55 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-12-16 10:17:55 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-12-16 10:17:55 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-12-16 10:17:55 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-12-16 10:17:55 0 [Note] InnoDB: Waiting for purge to start
2020-12-16 10:17:55 0 [Note] InnoDB: 10.4.14 started; log sequence number 1699607; transaction id 3902
2020-12-16 10:17:55 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-12-16 10:17:55 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-12-16 10:17:55 0 [Note] Server socket created on IP: '::'.
Can someone help me to solve this problem?
Follow below instruction
1.exit Xampp server
2.go to your C:\xampp\mysql\data directory
3.delete the ibdata1 file
4.restart xampp server

xampp cannot start MySQL

I shut down my xampp to take a lunch break and for some reason I cannot start it up again. When I try to launch MySQL it says the following:
13:13:19 [mysql] Error: MySQL shutdown unexpectedly.
13:13:19 [mysql] This may be due to a blocked port, missing dependencies,
13:13:19 [mysql] improper privileges, a crash, or a shutdown by another method.
13:13:19 [mysql] Press the Logs button to view error logs and check
13:13:19 [mysql] the Windows Event Viewer for more clues
13:13:19 [mysql] If you need more help, copy and post this
13:13:19 [mysql] entire log window on the forums
So I check the error logs:
2020-11-25 13:13:17 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-11-25 13:13:17 0 [Note] InnoDB: Uses event mutexes
2020-11-25 13:13:17 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-11-25 13:13:17 0 [Note] InnoDB: Number of pools: 1
2020-11-25 13:13:17 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-11-25 13:13:17 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-11-25 13:13:17 0 [Note] InnoDB: Completed initialization of buffer pool
2020-11-25 13:13:17 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-11-25 13:13:17 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-11-25 13:13:17 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-11-25 13:13:17 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-11-25 13:13:17 0 [Note] InnoDB: Waiting for purge to start
2020-11-25 13:13:17 0 [Note] InnoDB: 10.4.11 started; log sequence number 702532; transaction id 2087
2020-11-25 13:13:17 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-11-25 13:13:17 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-11-25 13:13:17 0 [Note] Server socket created on IP: '::'.
What am I doing wrong / how can I fix this issue?
Thanks to A R I found the solution:
I had to stop MySQL, copy the data folder and remove the files that have the INFO File type.

XAMPP - MySQL shutdown unexpectedly error

I tried to run MySQL on XAMPP v3.2.4 - and I get the following error. It did work before.
Log:
InnoDB: using atomic writes.
2020-04-11 16:11:37 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-04-11 16:11:37 0 [Note] InnoDB: Uses event mutexes
2020-04-11 16:11:37 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-04-11 16:11:37 0 [Note] InnoDB: Number of pools: 1
2020-04-11 16:11:37 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-04-11 16:11:37 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-04-11 16:11:37 0 [Note] InnoDB: Completed initialization of buffer pool
2020-04-11 16:11:37 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-04-11 16:11:37 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-04-11 16:11:37 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-04-11 16:11:37 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-04-11 16:11:37 0 [Note] InnoDB: Waiting for purge to start
2020-04-11 16:11:37 0 [Note] InnoDB: 10.4.11 started; log sequence number 47143; transaction id 9
2020-04-11 16:11:37 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-04-11 16:11:37 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-04-11 16:11:37 0 [Note] InnoDB: Buffer pool(s) load completed at 200411 16:11:37
2020-04-11 16:11:37 0 [Note] Server socket created on IP: '::'.
The error:
`20:50:47 [mysql] Error: MySQL shutdown unexpectedly.
20:50:47 [mysql] This may be due to a blocked port, missing dependencies,
20:50:47 [mysql] improper privileges, a crash, or a shutdown by another method.
20:50:47 [mysql] Press the Logs button to view error logs and check
20:50:47 [mysql] the Windows Event Viewer for more clues
20:50:47 [mysql] If you need more help, copy and post this
20:50:47 [mysql] entire log window on the forums
`
Anyways to fix this? Thanks in advance! OS: W10 Pro 64bit

XAMPP - MySQL shutdown unexpectedly, the logs looks fine doesnt have any error i guess

I got an error like this after starting mysql
11.56.08 [mysql] Error: MySQL shutdown unexpectedly.
11.56.08 [mysql] This may be due to a blocked port, missing dependencies,
11.56.08 [mysql] improper privileges, a crash, or a shutdown by another method.
11.56.08 [mysql] Press the Logs button to view error logs and check
11.56.08 [mysql] the Windows Event Viewer for more clues
11.56.08 [mysql] If you need more help, copy and post this
11.56.08 [mysql] entire log window on the forums
And this is the log
2020-04-13 12:09:49 0 [Note] InnoDB: Mutexes and rw_locks use Windows
interlocked functions
2020-04-13 12:09:49 0 [Note] InnoDB: Uses event mutexes
2020-04-13 12:09:49 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-04-13 12:09:49 0 [Note] InnoDB: Number of pools: 1
2020-04-13 12:09:49 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-04-13 12:09:49 0 [Note] InnoDB: Initializing buffer pool, total
size = 16M, instances = 1, chunk size = 16M
2020-04-13 12:09:49 0 [Note] InnoDB: Completed initialization of
buffer pool
2020-04-13 12:09:51 0 [Note] InnoDB: 128 out of 128 rollback segments
are active.
2020-04-13 12:09:51 0 [Note] InnoDB: Creating shared tablespace for
temporary tables
2020-04-13 12:09:51 0 [Note] InnoDB: Setting file
'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the
file full; Please wait ...
2020-04-13 12:09:51 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1'
size is now 12 MB.
2020-04-13 12:09:51 0 [Note] InnoDB: Waiting for purge to start
2020-04-13 12:09:51 0 [Note] InnoDB: 10.3.16 started; log sequence
number 1604020; transaction id 9
2020-04-13 12:09:51 0 [Note] InnoDB: Loading buffer pool(s) from
C:\xampp\mysql\data\ib_buffer_pool
2020-04-13 12:09:51 0 [Note] InnoDB: Buffer pool(s) load completed at
200413 12:09:51
2020-04-13 12:09:51 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-04-13 12:09:51 0 [Note] Server socket created on IP: '::'.
The log looks fine, and I don't see any trouble there.
I've tried all the tips on the Internet like deleting
ibdata1, ib_lofile1, ib_logfile0, etc, but still it doesn't fix the problem for me.
Any help?

Automatic shutdown error within Xammp and MySQL

I am trying to start the mysql portion of xammp and i got a log issue i went into the logs and this is the error code any idea what could have gone wrong
Power cycling my system to see whether or not it was just an error
i have tried to open myphp admin to view this but i cannot due to the system being local and without mysql being opened within xammp it will not connect
Here is the log error from xammp:
13:32:11 [mysql] Attempting to start MySQL app...
13:32:11 [mysql] Status change detected: running
13:32:15 [mysql] Status change detected: stopped
13:32:15 [mysql] Error: MySQL shutdown unexpectedly.
13:32:15 [mysql] This may be due to a blocked port, missing dependencies,
13:32:15 [mysql] improper privileges, a crash, or a shutdown by another method.
13:32:15 [mysql] Press the Logs button to view error logs and check
13:32:15 [mysql] the Windows Event Viewer for more clues
13:32:15 [mysql] If you need more help, copy and post this
13:32:15 [mysql] entire log window on the forums
and here is the error within the log file:
InnoDB: using atomic writes.
2019-10-29 13:32:11 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-10-29 13:32:11 0 [Note] InnoDB: Uses event mutexes
2019-10-29 13:32:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-10-29 13:32:11 0 [Note] InnoDB: Number of pools: 1
2019-10-29 13:32:11 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-10-29 13:32:11 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-10-29 13:32:11 0 [Note] InnoDB: Completed initialization of buffer pool
2019-10-29 13:32:13 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-10-29 13:32:13 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-10-29 13:32:13 0 [Note] InnoDB: Setting file '\University\Year 2\Web Development\Xampp\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-10-29 13:32:13 0 [Note] InnoDB: File '\University\Year 2\Web Development\Xampp\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-10-29 13:32:14 0 [Note] InnoDB: Waiting for purge to start
2019-10-29 13:32:14 0 [Note] InnoDB: 10.4.6 started; log sequence number 14874307; transaction id 11655
2019-10-29 13:32:14 0 [Note] InnoDB: Loading buffer pool(s) from E:\University\Year 2\Web Development\Xampp\xampp\mysql\data\ib_buffer_pool
2019-10-29 13:32:14 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-10-29 13:32:14 0 [Note] Server socket created on IP: '::'.