mysql cant start in xampp - mysql

this is what happens when i run mysql
22.33.16 [mysql] Error: MySQL shutdown unexpectedly.
22.33.16 [mysql] This may be due to a blocked port, missing dependencies,
22.33.16 [mysql] improper privileges, a crash, or a shutdown by another method.
22.33.16 [mysql] Press the Logs button to view error logs and check
22.33.16 [mysql] the Windows Event Viewer for more clues
22.33.16 [mysql] If you need more help, copy and post this
22.33.16 [mysql] entire log window on the forums
22.33.19 [mysql] Attempting to start MySQL app...
22.33.19 [mysql] Status change detected: running
22.33.20 [mysql] Status change detected: stopped
22.33.20 [mysql] Error: MySQL shutdown unexpectedly.
22.33.20 [mysql] This may be due to a blocked port, missing dependencies,
22.33.20 [mysql] improper privileges, a crash, or a shutdown by another method.
22.33.21 [mysql] Press the Logs button to view error logs and check
22.33.21 [mysql] the Windows Event Viewer for more clues
22.33.21 [mysql] If you need more help, copy and post this
22.33.21 [mysql] entire log window on the forums
can anybody tell me, what should i do to fix this problem?

It seems that the default port 3306 that MySQL use is in use from another program. Check that first. Try with netstat -ab in command prompt to see which application use this port.
Another suggestion is if you have firewall that is blocking MySQL...

Related

MYSQL WONT OPEN XAMPP

Trying to run MYSQL in XAMPP. I get an error message. Below is the error log. tried replacing mysql folder in xammp with a new one didnt fix it. pls help?
9:22:50 AM [mysql] Error: MySQL shutdown unexpectedly.
9:22:50 AM [mysql] This may be due to a blocked port, missing dependencies,
9:22:50 AM [mysql] improper privileges, a crash, or a shutdown by another method.
9:22:50 AM [mysql] Press the Logs button to view error logs and check
9:22:50 AM [mysql] the Windows Event Viewer for more clues
9:22:50 AM [mysql] If you need more help, copy and post this
9:22:50 AM [mysql] entire log window on the
Try enabling your wifi, if it is, then check your wifi certificates.
If this does not work, manually uninstall XAMPP and then reinstall it.

MySQL Shutdown Unexpectedly even after changing port of Mysql

When i am starting mySQL in XAMPP it is showing me this error.
Yesterday it was working fine. I have also installed composer yesterday.
I am using php version 7.3 (Latest One)
9:35:30 AM [mysql] Attempting to start MySQL app...
9:35:30 AM [mysql] Status change detected: running
9:35:32 AM [mysql] Status change detected: stopped
9:35:32 AM [mysql] Error: MySQL shutdown unexpectedly.
9:35:32 AM [mysql] This may be due to a blocked port, missing dependencies,
9:35:32 AM [mysql] improper privileges, a crash, or a shutdown by another method.
9:35:32 AM [mysql] Press the Logs button to view error logs and check
9:35:32 AM [mysql] the Windows Event Viewer for more clues
9:35:32 AM [mysql] If you need more help, copy and post this
9:35:32 AM [mysql] entire log window on the forums
I have tried to change the port of mySQL in my.ini file from 3306 to 8111 and then run it as an administrator but it still shows the same error.
I also tried to delete ibdata1 file but still it is not working for me.
I have used the composer for the very first time so i was just thinking may be it is due to the composer. As i have installed it in a developer mode. But i also delete the composer folder from appdata/roaming/composer

Xampp mysql error when connecting

i have this problem:
I try to start the mySql from xampp but i get
14:45:16 [mysql] Error: MySQL shutdown unexpectedly.
14:45:16 [mysql] This may be due to a blocked port, missing
dependencies,
14:45:16 [mysql] improper privileges, a crash, or a shutdown by
another method.
14:45:16 [mysql] Press the Logs button to view error logs and check
14:45:16 [mysql] the Windows Event Viewer for more clues
14:45:16 [mysql] If you need more help, copy and post this
14:45:16 [mysql] entire log window on the forums
I've been looking for an answer for like 4 hours and i can't find it. Can someone tell me how to fix this? I already tried to go to /xampp/mysql/data and delete ibdata. And also tried to change the port from 80 to 8080
Make sure that 80 and 8080 are not used and also set the process to run as sudo.

MySQL Server has gone away at loading

I start my mysql server with xampp control panel. It worked all the time. I donĀ“t know what have changed, but now the server is crashing if I wanna connect via a mysql program or connect to my local homepage which sends requests to the mysql server.
This is the error in xampp control panel.
12:22:38 [mysql] Error: MySQL shutdown unexpectedly.
12:22:38 [mysql] This may be due to a blocked port, missing dependencies,
12:22:38 [mysql] improper privileges, a crash, or a shutdown by another method.
12:22:38 [mysql] Press the Logs button to view error logs and check
12:22:38 [mysql] the Windows Event Viewer for more clues
12:22:38 [mysql] If you need more help, copy and post this
12:22:38 [mysql] entire log window on the forums

XAMPP - Error MySQL shutdown unexpectedly

When I open XAMPP and click start MySQL button and it gives me an error I had it started just before but now it isn't working.
13:06:29 [mysql] Error: MySQL shutdown unexpectedly.
13:06:29 [mysql] This may be due to a blocked port, missing dependencies,
13:06:29 [mysql] improper privileges, a crash, or a shutdown by another method.
13:06:29 [mysql] Press the Logs button to view error logs and check
13:06:29 [mysql] the Windows Event Viewer for more clues
13:06:29 [mysql] If you need more help, copy and post this
13:06:29 [mysql] entire log window on the forums
Logs:
enter link description here
Go to path C:\xampp\mysql\data
Search multi-master.info
Delete multi-master.info