http tunneling. Socket error

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
softsmith
Posts: 19
Joined: Fri 27 Jan 2012 01:17

http tunneling. Socket error

Post by softsmith » Sat 21 Jul 2012 12:48

I am currently evaluating trial version of myDAC. I have very simple application with Myconnecton and TMyQuery component.
I am pretty sure I have followed the instructions in the Network Tunneling help article.
I have uploaded tunnel.php to the web server, and set database name, and under HttpOptions set user name and password, and set protocol to mpHttp.
When I run a simple query I get error message
Raised exception class Http Exception with message 'Socket error on read WSAGetLastError return 10004 ($2714).
I am not sure how to track down this problem. Can you help please

Thanks
Colin

AndreyZ

Re: http tunneling. Socket error

Post by AndreyZ » Mon 23 Jul 2012 10:22

Hello,

Please check that the tunnel.php script is available through the HTTP protocol. You can verify whether it is accessible using a web browser.

Post Reply