Delphi XE Tunnel.php

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
rst20
Posts: 2
Joined: Sun 01 Apr 2012 05:20

Delphi XE Tunnel.php

Post by rst20 » Sun 01 Apr 2012 06:32

I need a connection to a Database on a Webserver. So I tried to use mydac with tunnel.php.

This works not complete. I can open the connection in design mode, also the compiled program connects without debugging.

If I start the program in debug mode with the Delphi IDE, the connection fails with the error code 10004. In the log of the PHP-Script is written "Bad Client".

thanks Ralf

AndreyZ

Post by AndreyZ » Tue 03 Apr 2012 13:26

Hello,

Such error can occur if there were no connections to the tunnel script during its lifetime (180 seconds by default). As a solution, you can increase the $LIFETIME variable value in the tunnel.php file.

Post Reply