xampp cannot start MySQL - 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.

Related

MySQL shutdown unexpectedly using with XAMPP

Hello I got this when I tired to run the MySQL in XAMPP:
12:24:00 AM [mysql] This may be due to a blocked port, missing dependencies,
12:24:00 AM [mysql] improper privileges, a crash, or a shutdown by another method.
12:24:00 AM [mysql] Press the Logs button to view error logs and check
12:24:00 AM [mysql] the Windows Event Viewer for more clues
12:24:00 AM [mysql] If you need more help, copy and post this
12:24:00 AM [mysql] entire log window on the forums
The log says this:
InnoDB: using atomic writes.
2020-07-11 0:22:52 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-07-11 0:22:52 0 [Note] InnoDB: Uses event mutexes
2020-07-11 0:22:52 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-11 0:22:52 0 [Note] InnoDB: Number of pools: 1
2020-07-11 0:22:52 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-11 0:22:52 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-07-11 0:22:52 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-11 0:22:52 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-11 0:22:52 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-11 0:22:52 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-11 0:22:52 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-07-11 0:22:52 0 [Note] InnoDB: Waiting for purge to start
2020-07-11 0:22:52 0 [Note] InnoDB: 10.4.13 started; log sequence number 423060; transaction id 824
2020-07-11 0:22:52 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-07-11 0:22:52 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-11 0:22:52 0 [Note] Server socket created on IP: '::'.
I have seen all the other posts about this issue but none of them relate to my situation. I'm a bit confused why that is the latest log, as the time is different from when I tried to run the MySQL, also I don't see a clear error. Any help would be much appreciated!
In tgat case you have to reinstall xampp. Many times happens. When its asked, dont delete your htdocs folder. If you do not want to waste time because it installs too slowly, desactivate your antivirus while installing and then activate it again

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?

Error: MySQL shutdown unexpectedly. This may be due to a blocked port, missing dependencies

When I open XAMPP and click start MySQL button and it gives me an error. I had started it just before, but now it isn't working.
19:53:07 [mysql] Status change detected: stopped
19:53:07 [mysql] Error: MySQL shutdown unexpectedly.
19:53:07 [mysql] This may be due to a blocked port, missing dependencies,
19:53:07 [mysql] improper privileges, a crash, or a shutdown by another method.
19:53:07 [mysql] Press the Logs button to view error logs and check
19:53:07 [mysql] the Windows Event Viewer for more clues
19:53:07 [mysql] If you need more help, copy and post this
19:53:07 [mysql] entire log window on the forums
Here is the contents of the error log:
InnoDB: using atomic writes.
2019-09-05 19:53:05 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-09-05 19:53:05 0 [Note] InnoDB: Uses event mutexes
2019-09-05 19:53:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-09-05 19:53:05 0 [Note] InnoDB: Number of pools: 1
2019-09-05 19:53:05 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-09-05 19:53:05 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-09-05 19:53:05 0 [Note] InnoDB: Completed initialization of buffer pool
2019-09-05 19:53:05 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-09-05 19:53:05 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-09-05 19:53:05 0 [Note] InnoDB: Setting file 'D:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-09-05 19:53:05 0 [Note] InnoDB: File 'D:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-09-05 19:53:05 0 [Note] InnoDB: Waiting for purge to start
2019-09-05 19:53:05 0 [Note] InnoDB: 10.4.6 started; log sequence number 519973; transaction id 604
2019-09-05 19:53:05 0 [Note] InnoDB: Loading buffer pool(s) from D:\xampp\mysql\data\ib_buffer_pool
2019-09-05 19:53:05 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-09-05 19:53:05 0 [Note] Server socket created on IP: '::'.
The most important error message is here:
2019-09-05 19:53:05 0 [Note] InnoDB: Setting file 'D:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-09-05 19:53:05 0 [Note] InnoDB: File 'D:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-09-05 19:53:05 0 [Note] InnoDB: Waiting for purge to start
2019-09-05 19:53:05 0 [Note] InnoDB: 10.4.6 started; log sequence number 519973; transaction id 604
2019-09-05 19:53:05 0 [Note] InnoDB: Loading buffer pool(s) from D:\xampp\mysql\data\ib_buffer_pool
I watched tutorials on yt but it isnt work.....

MySQL on XAMPP unable to run

I started using XAMPP about two days ago and out of the blue it stopped working I tried to check the error I was having that said:
Error: MySQL shutdown unexpectedly.
10:56:40 [mysql] This may be due to a blocked port, missing dependencies,
10:56:40 [mysql] improper privileges, a crash, or a shutdown by another method.
10:56:40 [mysql] Press the Logs button to view error logs and check
10:56:40 [mysql] the Windows Event Viewer for more clues
10:56:40 [mysql] If you need more help, copy and post this
10:56:40 [mysql] entire log window on the forums
But all the fixed I found and the ones I thought might possible didn't solve the problem.
I checked the log error but didn't know what exactly is wrong
the error log is as follow:
2019-07-02 10:56:32 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-07-02 10:56:32 0 [Note] InnoDB: Uses event mutexes
2019-07-02 10:56:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-07-02 10:56:32 0 [Note] InnoDB: Number of pools: 1
2019-07-02 10:56:32 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-07-02 10:56:32 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-07-02 10:56:32 0 [Note] InnoDB: Completed initialization of buffer pool
2019-07-02 10:56:32 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-07-02 10:56:32 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-07-02 10:56:32 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-07-02 10:56:32 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-07-02 10:56:32 0 [Note] InnoDB: Waiting for purge to start
2019-07-02 10:56:32 0 [Note] InnoDB: 10.3.16 started; log sequence number 1824338; transaction id 303
2019-07-02 10:56:32 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-07-02 10:56:32 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-07-02 10:56:32 0 [Note] Server socket created on IP: '::'.
Can someone please help?
Check if there is another app that is using the port 3306. If so, you have to kill the process and start again the mysql service.