The password for the password-protected directory that contains the HTTP tunneling script. The username for the password-protected directory that contains the HTTP tunneling script. The URL of the PHP script for HTTP tunneling. To set up an HTTP tunnel, specify the connection parameters on the HTTP and HTTPS Options tab under Security Settings. The web server must support PHP 5 or later. The script file is located in the "C:\Program Files (x86)\Devart\ODBC\MySQL\http\tunnel.php" folder. You can verify the script accessibility using any web browser. The script must be accessible through HTTP. It enables access to the database server through an HTTP tunnel. To establish a connection in this situation, you must deploy the tunnel.php script, which is distributed with the driver, on the web server. The driver supports HTTP tunneling based on the PHP script.Ī possible scenario of using HTTP tunneling: the client needs to access the database of a website from a remote machine, but access to the designated port of the database server is forbidden - only connections on the HTTP port 80 are allowed. If the firewall allows HTTP connections, you can use the ODBC driver with a properly configured web server to connect to the database server. When MySQL server is hidden behind a firewall, the client is not able to connect to the server directly on a specified port. The tunnel is created by an intermediary called a proxy server. when a database server is hidden behind a firewall, or you need to transmit private network data through a public network, you can set up an HTTP tunnel to create a direct network link between two locations. If you need to connect to MySQL in conditions of restricted connectivity, e.g. This section discusses how to connect the ODBC driver to MySQL through an HTTP tunnel.
0 Comments
Leave a Reply. |