WAMP MySQL service does not start

3

2

My question is similar to this. But none of the posted solutions worked.
my.ini file is pasted here. 'mysql.log' is pasted here.

The problem seems to be caused for no reason. I don't remember changing anything specifically.
Apache runs fine. I'm on windows 7 x64.

Most interestingly, mysql.exe runs just fine. No password is on. mysqld.exe doesn't run
(running it through console will just cause an infinite delay)

What I've tried

  • Turning off Firewall
  • Checking port 3306 to be open
  • Checking running services for other instances of MySQL
  • Checking for other installed versions of MySQL
  • Changing password in my.ini
  • Running wampserver as administrator
  • Disabling SQL Server services
  • Uncommenting 'skip-networking' option
  • Switching my computer's networking mode to DMZ (just in case if router firewall issue)
  • Googling and trying every other suggested solution
  • Re-installing wampserver
  • Restarting PC

I don't know what to do anymore. Anyone has a solution?

jzeus

Posted 2012-12-31T06:59:24.750

Reputation: 235

Answers

1

Search for mysql-bin.index file, delete it, then restart MySQL.

alex_m

Posted 2012-12-31T06:59:24.750

Reputation: 146

there was no such socket file in my temp folder :/ I've edited the post and added the log file (it has some stuff about InnoDB...) – jzeus – 2012-12-31T10:33:14.067

Search for mysql-bin.index file, delete it, then restart MySQL. – alex_m – 2012-12-31T19:09:51.777

YES THANK YOU! IT WORKS NOW! I can't believe it was as simple as that. Please move it to your answer for future reference. – jzeus – 2012-12-31T23:35:01.200

0

Please check the port that mySql is using on your system then change the port number of wamp servers mySql service to that number by entering it in my.ini for Windows last line restart service and it immediately turns green. Hope this helps because I ran into similar problem.

Nikhil Goswami

Posted 2012-12-31T06:59:24.750

Reputation: 121

0

In my case the problem was I had moved the mysql folder from my old system and replaced it on the new system, luckily I had backed up the freshly installed mysql. Reverting it worked

shabby

Posted 2012-12-31T06:59:24.750

Reputation: 111