Connect fail: The requested name is valid, but no data (...)

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
ghs
Posts: 5
Joined: Mon 21 Jul 2008 13:00

Connect fail: The requested name is valid, but no data (...)

Post by ghs » Fri 16 Apr 2010 11:36

When trying to set up MySQL Connection via HTTP Tunnel, I get following error:
Can't connect to MySQL server on 'server-name' (10061):
The requested name is valid, but no data of the requested type was found
Additional information: the server I am trying to connect to does not allow database enumeration (so I've typed database name, instead of picking it from combo box).
Can you provide me with any solution to this?

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Mon 19 Apr 2010 14:05

Please check that the port specified in your connection string is the same one which is used by the MySQL server, and that you are able to connect to the server by some standard tool.

If the problem persists, please specify (at least roughly) the connection string you are using.

ghs
Posts: 5
Joined: Mon 21 Jul 2008 13:00

Post by ghs » Mon 19 Apr 2010 14:08

Problem was solved by using numeric IP address instead of host name.

Post Reply