Page 1 of 1

MySQL Problem

PostPosted: 26. February 2009 06:52
by dsalkindc13
When I start the xampp window and then click start MySQL it gives me an error code.
it says Error: MySQL service not started [-1]
What do i do to start it?

Re: MySQL Problem

PostPosted: 28. February 2009 01:08
by acestu
Go to the Xampp control panel and where it says Mysql service , click on the start box next to it ok

cheers
Acestu

Re: MySQL Problem

PostPosted: 02. March 2009 04:43
by sg123
I am having the same problem. When I tried starts the service from control panel, it started for 10 secs, and then it stops.

operating system - windows XP

Re: MySQL Problem

PostPosted: 02. March 2009 04:51
by Izzy

Re: MySQL Problem

PostPosted: 02. March 2009 05:59
by sg123
Thanks Izzy. I did everything you suggested, but Mysql is still not running. It came up for around 5 secs, but went out. The svc Mysql button is checked in the end.

Re: MySQL Problem

PostPosted: 02. March 2009 09:19
by Izzy
Try running xampp\mysql_start.bat file and see if it gives an error message clue.

Re: MySQL Problem

PostPosted: 02. March 2009 09:58
by sg123
When I run mysql_start.bat, I get this error:

MySQL is starting with mysql\bin\my.cnf (console)
Can't start server: listen() on TCP/IP port: No such file or directory
090302 0:53:45 [ERROR] listen on TCP/IP failed with error 10012
090302 0:53:45 [ERROR] Aborting

090302 0:53:45 [Note] mysql\bin\mysqld: Shutdown complete

Mysql konnte nicht gestartet werden
MySQL could not be started

Re: MySQL Problem

PostPosted: 02. March 2009 10:14
by Izzy
Temporarily disable your firewall and try again.

If you can start MySQL then in your firewall allow MySQL on port 3306.

This topic had a similar issue and Mcafee was the culprit.
viewtopic.php?f=16&t=33267

Re: MySQL Problem

PostPosted: 02. March 2009 19:55
by sg123
Thank you so much Izzy. That worked. I spent so much time, install uninstall, nothing worked. You are a lifesaver.