Can't establish HTTP connection

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
msdeveloper
Posts: 1
Joined: Sun 19 Dec 2010 10:59

Can't establish HTTP connection

Post by msdeveloper » Sun 19 Dec 2010 11:25

i've used dot connector version 6.0.58.0 and mysql version 4.0.27-log

connection code is below

MySqlConnection conn = new MySqlConnection();
conn.ConnectionString = "host=localhost;user=aaa;password=123";
conn.Protocol = MySqlProtocol.Http;
conn.HttpOptions.Url = "http://www.bldoriental.com/tunnel.php";
conn.open();
this shows the following error message
"Can't connect to MySQL server on 'localhost' (10061):
Can't establish HTTP connection."

Does dotconnector depend on mysql version?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 21 Dec 2010 17:35

Please follow the recommendations which are mentioned in this thread: http://www.devart.com/forums/viewtopic.php?t=17327.
The 4.0.27 version of MySQL Server should be supported by dotConnect for MySQL: http://www.devart.com/dotconnect/mysql/ ... ility.html.
Documentation is available here: http://www.devart.com/dotconnect/mysql/ ... eling.html.

Notify us about the results.

Post Reply