MySQL stopping in XAMPP - mysql

I try to run my MySQL from the XAMPP Control Panel v3.2.1, but it stops a bit after I hit Start. It says it's running for a solid second, then crashes. I tried changing its ports, but didn't work.
Here's what it said in the control panel:
8:08:18 PM [mysql] Error: MySQL shutdown unexpectedly.
8:08:18 PM [mysql] This may be due to a blocked port, missing dependencies,
8:08:18 PM [mysql] improper privileges, a crash, or a shutdown by another method.
8:08:18 PM [mysql] Press the Logs button to view error logs and check
8:08:18 PM [mysql] the Windows Event Viewer for more clues
8:08:18 PM [mysql] If you need more help, copy and post this
8:08:18 PM [mysql] entire log window on the forums

Go to Task Manager, see the services regarding mysqls and stop them as administrator and then try, it will connect.
If it doesn't work then try this command in your cmd:
/usr/local/mysql/bin/mysqladmin -u root -p shutdown

Related

how to fix Error: MySQL shutdown unexpectedly

my xampp is giving this error
4:00:43 PM [mysql] Error: MySQL shutdown unexpectedly.
4:00:43 PM [mysql] This may be due to a blocked port, missing dependencies,
4:00:43 PM [mysql] improper privileges, a crash, or a shutdown by another method.
4:00:43 PM [mysql] Press the Logs button to view error logs and check
4:00:43 PM [mysql] the Windows Event Viewer for more clues
4:00:43 PM [mysql] If you need more help, copy and post this
4:00:43 PM [mysql] entire log window on the forums
I tried to fix the error by changing the port, but it didn't work, then I tried to change the data folder to the old-data folder, and it was fixed, but then the same error occurred again, and after a few days, I even uninstalled xampp several times, and it was the last one again. I installed the version, but after a few days it gave the same error again

XAMPP - MySQL shutdown unexpectedly after importing a .sql file

Yesterday, I tried to import some .sql file (basic, fully-working). After I did so, I immediately lost my mysql connection. My first move was to just restart it through xampp control panel, but it didnt work, and gave me an error:
Error: MySQL shutdown unexpectedly.
3:14:34 PM [mysql] This may be due to a blocked port, missing dependencies,
3:14:34 PM [mysql] improper privileges, a crash, or a shutdown by another method.
3:14:34 PM [mysql] Press the Logs button to view error logs and check
3:14:34 PM [mysql] the Windows Event Viewer for more clues
3:14:34 PM [mysql] If you need more help, copy and post this
3:14:34 PM [mysql] entire log window on the forums
I cannot make it start. I already tried changing port number, installing fresh xampp (but there was another issue with importing database (innoDB)). So, I have a clean xampp instalation now, and a backup of a previous one - how can I at least manage to restore my data?
Logs does not contain any error line.

MYSQL not start in Xammp

When I try to start MYSQL in the xammp it generates an error.
This is the message I got. I tried a couple of thing for solving the issue.
1. Change the port number - doesn't work
2.Change xammp/mysql/data folder values.It also doesn't work
3:54:30 PM [mysql] Status change detected: stopped
3:54:30 PM [mysql] Error: MySQL shutdown unexpectedly.
3:54:30 PM [mysql] This may be due to a blocked port, missing dependencies,
3:54:30 PM [mysql] improper privileges, a crash, or a shutdown by another method.
3:54:30 PM [mysql] Press the Logs button to view error logs and check
3:54:30 PM [mysql] the Windows Event Viewer for more clues
3:54:30 PM [mysql] If you need more help, copy and post this
3:54:30 PM [mysql] entire log window on the forums

XAMPP can't START to Running MySQL

I have been using the same XAMPP for a long time, and everything is fine. But today, MySQL does not want to do the running (start) process.
I have done a number of ways, such as restarting, removing ibdata, aria_log, then trying again. But the results still cannot be running, even ibdata and others that I deleted back to normal.
9:50:34 PM [mysql] Status change detected: running
9:50:39 PM [mysql] Status change detected: stopped
9:50:39 PM [mysql] Error: MySQL shutdown unexpectedly.
9:50:39 PM [mysql] This may be due to a blocked port, missing dependencies,
9:50:39 PM [mysql] improper privileges, a crash, or a shutdown by another method.
9:50:39 PM [mysql] Press the Logs button to view error logs and check
9:50:39 PM [mysql] the Windows Event Viewer for more clues
9:50:39 PM [mysql] If you need more help, copy and post this
9:50:39 PM [mysql] entire log window on the forums
10:04:16 PM [mysql] Problem detected!
10:04:16 PM [mysql] Port 3306 in use by "Unable to open process"!
10:04:16 PM [mysql] MySQL WILL NOT start without the configured ports free!
10:04:16 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
10:04:16 PM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
10:04:16 PM [mysql] Attempting to start MySQL app...
10:04:16 PM [mysql] Problem detected!
10:04:16 PM [mysql] Port 3306 in use by "Unable to open process"!
10:04:16 PM [mysql] MySQL WILL NOT start without the configured ports free!
10:04:16 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
10:04:16 PM [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
10:04:16 PM [mysql] Attempting to start MySQL app...
10:04:17 PM [mysql] Status change detected: running
10:04:20 PM [mysql] Status change detected: stopped
10:04:20 PM [mysql] Error: MySQL shutdown unexpectedly.
10:04:20 PM [mysql] This may be due to a blocked port, missing dependencies,
10:04:20 PM [mysql] improper privileges, a crash, or a shutdown by another method.
10:04:20 PM [mysql] Press the Logs button to view error logs and check
10:04:20 PM [mysql] the Windows Event Viewer for more clues
10:04:20 PM [mysql] If you need more help, copy and post this
10:04:20 PM [mysql] entire log window on the forums
What should I do? I really need help, I need to open PhpMyadmin
10:04:16 PM [mysql] Port 3306 in use by "Unable to open process"!
3306 port is in use. try to change Port number of Mysql Server from ini file (my.ini). Or perhaps another mysql process is already running
you can check if another instance of mysql is running by
ps -eaf | grep mysql

Error to start mysql in xampp

7:43:04 PM [mysql] Error: MySQL shutdown unexpectedly.
7:43:04 PM [mysql] This may be due to a blocked port, missing dependencies,
7:43:04 PM [mysql] improper privileges, a crash, or a shutdown by another method.
7:43:04 PM [mysql] Press the Logs button to view error logs and check
7:43:04 PM [mysql] the Windows Event Viewer for more clues
7:43:04 PM [mysql] If you need more help, copy and post this
I could not able start mysql in xampp please help
This can happen if you use skype as they will share the same port. Change skype settings or remove it and try again. I can't remember the port number. I think its 80.
You cannot change port settings in modern skypes so uninstall.
It could be other applications also.
You can make xampp listen on another port but this beyond me