MySQL won't start either

Problems with the Windows version of XAMPP, questions, comments, and anything related.

MySQL won't start either

Postby briandougal » 25. January 2009 15:51

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.
briandougal
 
Posts: 3
Joined: 25. January 2009 13:04

Re: MySQL won't start either

Postby Wiedmann » 25. January 2009 18:08

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.)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: MySQL won't start either

Postby briandougal » 25. January 2009 22:13

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.
briandougal
 
Posts: 3
Joined: 25. January 2009 13:04

Re: MySQL won't start either

Postby Wiedmann » 25. January 2009 22:56

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?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: MySQL won't start either

Postby briandougal » 25. January 2009 23:08

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)
briandougal
 
Posts: 3
Joined: 25. January 2009 13:04

Re: MySQL won't start either

Postby Wiedmann » 25. January 2009 23:46

- 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.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: MySQL won't start either

Postby Izzy » 27. January 2009 04:54

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.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 57 guests