MySQL shutdown unexpectedly
How will solve this error in XAMPP Server
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
1. Go into
C:\xampp\mysql
2. Rename
data folder by data_old
3. Create a
new empty folder data
4. Copy all
files from data_old and paste them into the data folder
5. Copy all
files from the backup folder and paste them in the data folder and replace all
files
6. Copy
ibdata1 files from data_old and paste and replace them in the data folder.
All the best!!
If you will get help from this article please comment and if
any confusion in the step please feel free and also comment. We will guide you.