When my XAMPP Apache is starting, while I start MYSQL the following error is occurring:
Error: MySQL shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums
Kindly help me on this.
If you got Skype or teamviewer Quit it and restart your wamp server this might help.
Please do post logs
Related
Error: MySQL shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums
11:42:05 AM [mysql] Error: MySQL shutdown unexpectedly.
11:42:05 AM [mysql] This may be due to a blocked port, missing dependencies,
11:42:05 AM [mysql] improper privileges, a crash, or a shutdown by another method.
11:42:05 AM [mysql] Press the Logs button to view error logs and check
11:42:05 AM [mysql] the Windows Event Viewer for more clues
11:42:05 AM [mysql] If you need more help, copy and post this
11:42:05 AM [mysql] entire log window on the forums
I've been trying to use MySQL on XAMPP but it's showing this error. I can't seem to find the solution. Any help would be really appreciated. Before this I was also unable to start Apache but then I disabled World Wide Web Publishing Services and it's working fine on port 80 and 443. Does this error have anything to do with the previous error?
maybe trying port 3306 will make your XAMPP can using MySQL, hope it help you
I haven't used XAMPP for a long time now, but yes I remember the same issue that happened to me. The other service might be taking the ports required by XAMPP.
You should stop both of them first.
To rectify it, one thing that you can do for sure is to: Start XAMPP as an administrator. This will allocate the required ports for the service.Should work fine then.
I found the answer to the question.
Close XAMPP if it's open and go to in the following directory:
C:\xampp\mysql\backup
Copy everything in that folder and go to:
C:\xampp\mysql\data
Select everything in that folder and paste what you copied and run XAMPP as an administrator then start MySQL
I get this error when I run Apache in XAMPP:
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums
When I tried to run MySQL on Xampp it says this:
Attempting to start MySQL app...
Status change detected: running
Status change detected: stopped
Error: MySQL shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums
I have been looking for an answer for about an hour and nothing has worked. If anybody knows a possible solution please tell me. Thanks!
Try to run xammp in the Administrator mode.
When starting mysql in XAMPP control panel I get the following error
14:35:23 [mysql] Error: MySQL shutdown unexpectedly.
14:35:23 [mysql] This may be due to a blocked port, missing dependencies,
14:35:23 [mysql] improper privileges, a crash, or a shutdown by another method.
14:35:23 [mysql] Press the Logs button to view error logs and check
14:35:23 [mysql] the Windows Event Viewer for more clues
14:35:23 [mysql] If you need more help, copy and post this
14:35:23 [mysql] entire log window on the forums
I have been having this problem with mysql not starting so I've re-installed XAMPP. MYsql then worked but today when starting again I got the above error. I've searched around google to find a solution, I've also deleted this file ibdata1 in the following directory C:\xampp2\mysql\data but Mysql didn't start probably. I had a look in the log files and I am getting the following error
2014-02-20 14:35:16 6528 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
Also, this all started after I configured Mysql with grails and hibernate, so I was thinking could the be the issue why I can't start MySQL in Xampp?
You can spend ages trying to find out what has gone wrong - installing over the top can create as many issues as it solves.
I suggest you go for a clean install as you have no data to worry about.
Uninstall XAMPP
Delete / move directory C:\xampp2\
Reboot
Instal XAMPP
Test
Open the task manager and stop mysql, then just start mysql in xampp and you're done.