Error connecting through SSH Tunnel
Posted by:
J Sovreign
Date: December 06, 2017 03:04AM
I have a php web application (Server A) that accesses MySQL on a remote server (Server B) through an SSH tunnel. Once the tunnel is set up, I can log in and run queries on Server B from Server A exactly as you would expect. However, when the web application tries to query the server I get the error:
[PDOException] SQLSTATE[HY000] [3159] Connections using insecure transport are prohibited while --require_secure_transport=ON.
Sure enough if I set the require_secure_transport system variable to OFF, it all works as expected but I do not understand why the web application connection triggers this exception but a normal connection does not.
Subject
Views
Written By
Posted
Error connecting through SSH Tunnel
1789
December 06, 2017 03:04AM
909
December 06, 2017 04:25AM
624
December 06, 2017 05:01AM
805
December 06, 2017 05:19AM
594
December 06, 2017 05:23AM
835
February 28, 2018 07:54AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.