Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL won't start on XAMPP server

Tags:

mysql

xampp

I have a problem with my XAMPP server. I can start Apache, FileZilla, and every thing else without problems, but when I try to start MySQL, it just says

Attempting to start MySQL service...

and it stays like that forever, like if it was frozen or something.

Any ideas how to fix it?

like image 986
user2372837 Avatar asked Jun 27 '13 15:06

user2372837


2 Answers

Check the log files for MySQL. You will find them in this directory: C:\xampp\mysql\data (assuming standard install location of xampp)

Also check if no other program or service uses the default MySql port. You can do this by using this command:

netstat -an | findstr "3306"

If anything shows up the default mysql port is in use.

like image 121
Andreas Avatar answered Sep 22 '22 06:09

Andreas


I fetch the problem to start xampp services "mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files"

I delete all area_log files form xampp\mysql\data

after that I restart XAMPP than it works.

Thanks

like image 41
vpgodara Avatar answered Sep 24 '22 06:09

vpgodara