Can't establish HTTP connection

Can't establish HTTP connection

Postby 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?
msdeveloper
 
Posts: 1
Joined: Sun 19 Dec 2010 10:59

Postby 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/compatibility.html.
Documentation is available here: http://www.devart.com/dotconnect/mysql/docs/?Tunneling.html.

Notify us about the results.
Shalex
Devart Team
 
Posts: 7606
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for MySQL