📎 AI Summary:
The forum thread discusses troubleshooting MySQL startup errors in XAMPP, with initial posts highlighting common issues like port conflicts or missing dependencies. A user shares a solution involving moving backup files into the data folder and running XAMPP as an administrator, which worked for them. The final post is from a beginner seeking guidance on how to move XAMPP to a different location and run it with administrator privileges.

aaalston

New Member
Member details
Joined
Jan 29, 2018
Messages
1
Thread Author #1
I'm trying to install XAMPP and have run into the following errors when I try to start MySQL


5:16:18 PM [mysql] Error: MySQL shutdown unexpectedly.
5:16:18 PM [mysql] This may be due to a blocked port, missing dependencies,
5:16:18 PM [mysql] improper privileges, a crash, or a shutdown by another method.
5:16:18 PM [mysql] Press the Logs button to view error logs and check
5:16:18 PM [mysql] the Windows Event Viewer for more clues
5:16:18 PM [mysql] If you need more help, copy and post this
5:16:18 PM [mysql] entire log window on the forums
 

Solution
In my case, I did two things:
  1. moved xampp/mysql/backup files into xampp/mysql/data
  2. RUN XAMPP as Administrator
It worked for me 🙂

Adrian Gates
Sr. Cloud Expert - Apps4Rent.

Neemobeer

Windows Forum Team
Staff member
Member details
Joined
Jul 4, 2015
Messages
8,995
Not really much to go on, did you check the items it mentioned to check?
 

AdrianG001

Senior Member
Member details
Joined
Feb 19, 2018
Messages
108
In my case, I did two things:
  1. moved xampp/mysql/backup files into xampp/mysql/data
  2. RUN XAMPP as Administrator
It worked for me 🙂

Adrian Gates
Sr. Cloud Expert - Apps4Rent.
 

Solution

BlackLion89

New Member
Member details
Joined
Oct 15, 2019
Messages
3
In my case, I did two things:
  1. moved xampp/mysql/backup files into xampp/mysql/data
  2. RUN XAMPP as Administrator
It worked for me 🙂

Adrian Gates
Sr. Cloud Expert - Apps4Rent.

Hiyah,

I've run into the same problem as the aaalston. I'm a complete beginner when it comes to this sought of stuff. How do I go about moving xampp from one location to another and how do I RUN XAMPP as Administrator? Thanks.