Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

.NET Application unable to connect to MySQL Server (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>