I am using the MyDAC component and am following the instructions here https://www.devart.com/mydac/docs/index ... eling.htm.
I've successfully put tunnel.php on my site.
Browsing to http://MyDomainName.co.uk/tunnel.php gives me a confirmation message from php
Browsing to XXXX.myisp.co.uk displays the index.html page on my web site, just like browsing to http://MyDomainName.co.uk
I've no idea why Hostname is '10.0.0.1' or even if that s correct
(MyDomain and XXXX.myisp.co.uk are not the real ones obviously)
Please could you tell me where I am going wrong with these connection parameters - particularly the proxy hostname.
Code: Select all
MyConnection.Server := 'XXXX.myisp.co.uk'; 
MyConnection.Port := 3307;    
MyConnection.Options.Protocol := mpHttp;
MyConnection.HttpOptions.Url := 'http://MyDomainName.co.uk/tunnel.php'; 
MyConnection.HttpOptions.ProxyOptions.Hostname := '10.0.0.1';   
MyConnection.HttpOptions.ProxyOptions.Port := 808;
MyConnection.Username := 'XXXXXXXX';   //correct one for a db user
MyConnection.Password := 'xxxxxxx';    //correct one for that user
MyConnection.Connect;I write applications and SQL databases but rarely deal with domains, html, php etc so I may be misunderstanding what is meant by things like Proxy and server names. In this respect you may have to treat me like a complete newbie and not use big words!