.NET Application unable to connect to MySQL Server
Posted by: Darren Bridle
Date: February 28, 2017 03:02AM

Hello,

I'm having a problem connecting to a MySQL Server on Windows 2012 R2 and I'm getting the following error:

MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException (0x80004005): No such host is known

Having spent a good amount of time researching the error, on these forums and other websites, I've tried everything listed:

- Created the user for the connecting IP
- Changed the skip-name-resolve
- Changed the bind address
- Tried logging in from different IP's

After that I thought about putting a wrong userID in, and it complained about not having access, so I know it can connect, I'm just unsure why its giving that error.

Any idea's anybody?

Thanks

Darren

Options: ReplyQuote


Subject
Written By
Posted
.NET Application unable to connect to MySQL Server
February 28, 2017 03:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.