I am having problems getting mySQL to install itself as a service. mySQL works fine if I login, Use the XAMPP control panel start button however whenever I tick the SVC check the service manager to find no mySQL service.

I have used WAMP and a few other similar projects and disabled services from these in the past so I am wondering if it is possibly an unclean uninstall or something along these lines. Is there anyway i can install the sql service something different or log files to look at for errors?

However try this:Do the above procedure that worked, ie - stop mysql in the control panel and then close it.This time include the mysql_uninstallservice.bat file next.Then do the sc delete mysql bit.Now run the mysql_installservice.bat fileOpen the Control Panel and the Svc box should be checked and the green running indication present.

Now for the fresh process - In the XAMPP Control Panel click on the SCM button and look for the mysql entry in the list of services.It should show as Started.

Right click on the mysql entry and select Properties.Click on the Log On tabUnder Log on as: the Local System account should already be selected.Tick the box Allow service to interact with the desktop.Click ApplyClick Restart the service in the left panel.Close the SCM.

Give it a work out and see if that stabilizes the mysql service for you.

I hope nobody minds this post resurrection but I am still having this issue. I have had the start_mysql.bat file start using a scheduled task for the mean time but it has been crashing randomly and causing havoc.

I tried the steps you suggested again with still no successes. I have also tried backing up my data and installing a standalone mysql 5.1 server with still no success even after deleting the service and closing the manually run copy.

How could I cleanly uninstall the copy of mysql in Xampp without uninstalling apache and having to reset up all my configurations?