MySQL shutdown unexpectedly using with XAMPP - mysql

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

Related

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.

When I start MySQL it shuts down instantly

My problem
When I try to start MySQL it automaticly shuts down. It always worked fine until I downloaded sql server 2008r2. I don't know if it has something to do with it because when I run. C:\> netstat -a -b and ctrl + f the port I am using for MySQL it is not listed.
When I change the MySQL port to something else (a random number) nothing happends I am still getting the same errros.
If someone is fammiliar with this headache problem I would really appreciate the help.
Thank you in advance.
Xampp error
09:15:00 [mysql] Attempting to start MySQL app...
09:15:01 [mysql] Status change detected: running
09:15:02 [mysql] Status change detected: stopped
09:15:02 [mysql] Error: MySQL shutdown unexpectedly.
09:15:02 [mysql] This may be due to a blocked port, missing
dependencies,
09:15:02 [mysql] improper privileges, a crash, or a shutdown by
another method.
09:15:02 [mysql] Press the Logs button to view error logs and check
09:15:02 [mysql] the Windows Event Viewer for more clues
09:15:02 [mysql] If you need more help, copy and post this
09:15:02 [mysql] entire log window on the forums
Mysql_error.log
InnoDB: using atomic writes.
2020-05-27 9:15:00 0 [Note] InnoDB: Mutexes and rw_locks use Windows
interlocked functions
2020-05-27 9:15:00 0 [Note] InnoDB: Uses event mutexes
2020-05-27 9:15:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-05-27 9:15:00 0 [Note] InnoDB: Number of pools: 1
2020-05-27 9:15:00 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-05-27 9:15:00 0 [Note] InnoDB: Initializing buffer pool, total
size = 16M, instances = 1, chunk size = 16M
2020-05-27 9:15:00 0 [Note] InnoDB: Completed initialization of
buffer pool
2020-05-27 9:15:00 0 [Note] InnoDB: 128 out of 128 rollback segments
are active.
2020-05-27 9:15:00 0 [Note] InnoDB: Creating shared tablespace for
temporary tables
2020-05-27 9:15:00 0 [Note] InnoDB: Setting file
'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the
file full; Please wait ...
2020-05-27 9:15:00 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1'
size is now 12 MB.
2020-05-27 9:15:00 0 [Note] InnoDB: Waiting for purge to start
2020-05-27 9:15:00 0 [Note] InnoDB: 10.4.11 started; log sequence
number 47064; transaction id 9
2020-05-27 9:15:00 0 [Note] InnoDB: Loading buffer pool(s) from
C:\xampp\mysql\data\ib_buffer_pool
2020-05-27 9:15:00 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-05-27 9:15:00 0 [Note] InnoDB: Buffer pool(s) load completed at
200527 9:15:00
2020-05-27 9:15:00 0 [ERROR] Could not open mysql.plugin table. Some
plugins may be not loaded
2020-05-27 9:15:00 0 [ERROR] c:\xampp\mysql\bin\mysqld.exe: unknown
variable 'innodb_additional_mem_pool_size=2M'
2020-05-27 9:15:00 0 [ERROR] Aborting

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