Page 1 of 1
Connect to MySQL through https tunnel?
Posted: Mon 05 May 2014 20:17
by Grolle
Hi,
is it possible to connect to an MySQL Server through an https tunnel? http works fine, but it is not secure enough for my needs.
Thank you and best regards ...
Re: Connect to MySQL through https tunnel?
Posted: Tue 06 May 2014 13:35
by Dimon
To support work via a secure channel, you should use the SSL or SSH protocol.
When using SSL connections, you can connect to a MySQL server (which supports SSL connection) via http tunnel. Thus, connection will be secure.
When using SSH protocol, SSH server must work on the MySQL server side, then the tunnel can be created directly via this SSH server, avoiding usage of http tunnel.
In order to create a secure connection to MySQL server via SSH/SSL you should use the TMySSHIOHandler/TMySSLIOHandler component and SecureBridge components. You can find more detailed information about it in the "Secure connections" topic of MyDAC help.