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

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

Postby 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?
ghs
 
Posts: 5
Joined: Mon 21 Jul 2008 13:00

Postby 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.
StanislavK
Devart Team
 
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Postby ghs » Mon 19 Apr 2010 14:08

Problem was solved by using numeric IP address instead of host name.
ghs
 
Posts: 5
Joined: Mon 21 Jul 2008 13:00


Return to dotConnect for MySQL