Unable to connect to any MySQL Host
I was debugging my colleague PC because the MySQL Connector.NET throws the said error. Found problem similar to it, but the solution was not satisfactory. This one throws a generic exception.
I was scratching my head, because MySQL Administrator and MySQL Query Browser works.
There must be something wrong.
I did a lot of things, such disabling the antivirus, check the WinSock, check .NET Trust level with no avail.
Then I just changed the connection string from localhost to 127.0.0.1, and then it works.
WTF just happened?
Well it seems that the 127.0.0.1 localhost entry in hosts.sam is missing. So put it there again and it works.
Damnit. How in the world the entry is deleted?
No comments yet.
Leave a comment
Search
Blogroll
My Bluray
My PC
My PC Games
My PC Games Wish List
My Playstation Games
- Crisis Core
- Dead Space
- Final Fantasy X International (Ultimate Hits)
- God of War
- God of War II
- Metal Gear Solid 2: Substance (Konami Palace Selection)
- Metal Gear Solid 4: Guns of the Patriots [Special Edition]
- Shin Onimusha: Dawn of Dreams (PlayStation2 the Best Reprint)
- Star Wars The Force Unleashed


