Page 1 of 1

MySQL won't start either

PostPosted: 25. January 2009 15:51
by briandougal
Hello

I am having similar problems to bvoltz.

Within XAMPP control panel Apache starts fine, but MySQL does NOT. Gives " ERROR: MySQL service not started [-1] "

I have uninstalled & reinstalled but without success. There must be something erroneous written into the registry ???

Also by opening Services (via [SCM...] button) I see that MySQL is attempting to use the file c:/xampp/mysql/bin/mysqld-shareware.exe which indeed does not exist (although there are plenty of very similarly named .exe files in that /bin/ directory).

Any thoughts??? Many thanks.

Re: MySQL won't start either

PostPosted: 25. January 2009 18:08
by Wiedmann
I have uninstalled & reinstalled but without success.

What have you uninstalled?

Just uninstall the existing MySQL service (and make sure it's uninstalled). Then reinstall the MySQL service.

(BTW: I recommend to not install the XAMPP control center itself as service.)

Re: MySQL won't start either

PostPosted: 25. January 2009 22:13
by briandougal
Thank for replying. Update:

1. Uninstalled & re-installed complete XAMPP. Reinstalled in completely different file location, still on C:\ drive.

2. I have now installed XAMPP on another PC and all is working correctly there. Doesn't solve my problem however as Dreamweaver is installed on the one with the non-working XAMPP. My hope was that by looking for differences, could find a fix. Did reveal:-

3. The problem is connected with MySQL running "as a service" (whatever that means?). There is a ticked check box for MySQL "Svc". If I uncheck it, get "OK to uninstall the MySQL service" but when I click "OK" the tick momentarily disappears, but then re-appears .5 sec later.

Re: MySQL won't start either

PostPosted: 25. January 2009 22:56
by Wiedmann
There is a ticked check box for MySQL "Svc". If I uncheck it, get "OK to uninstall the MySQL service" but when I click "OK" the tick momentarily disappears, but then re-appears .5 sec later.

- Your OS?
- You are administrator?
- The XAMPP contorl panel itself is installed as service or not?

Re: MySQL won't start either

PostPosted: 25. January 2009 23:08
by briandougal
Hi
Now is working correctly, thank you.
I ran C:\...\xampp\mysql mysql_uninstallservice.bat and that has cleared the "service" & MySQL now starts.

Answer to your questions:
- Your OS? = XP Prof SP3
- You are administrator? = Yes
- The XAMPP contorl panel itself is installed as service or not? = No idea (no idea what that means, sorry)

Re: MySQL won't start either

PostPosted: 25. January 2009 23:46
by Wiedmann
- The XAMPP contorl panel itself is installed as service or not? = No idea (no idea what that means, sorry)

If you start the control panel and click on "Service...". This should be disabled.

Re: MySQL won't start either

PostPosted: 27. January 2009 04:54
by Izzy
briandougal wrote:The XAMPP contorl panel itself is installed as service or not? = No idea (no idea what that means, sorry)
If you start the XAMPP Control Panel (XCP) then click on the Service... button, make sure there no ticks in any of the boxes in the Service settings window.

If you find any remove the ticks and click OK to exit the window or if non found Cancel to exit the window.