Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

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

share|improve this answer
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...) – Darren Sadr Dec 31 '12 at 10:33
Search for mysql-bin.index file, delete it, then restart MySQL. – user1594038 Dec 31 '12 at 19:09
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. – Darren Sadr Dec 31 '12 at 23:35

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

share|improve this answer

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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .