Welcome Guest, Not a member yet? Register   Sign In
SSH tunnel for MySQL on remote server
#1

Setting up an encrypted connection to MySQL on a remote server has not been possible, so I've spent many hours trying different "solutions", and I'm trying to get one working so I can test it out. Unfortunately, it's from some really old PHP, so I did my best to clean it up, but never could get it to work. Right now it's hanging at the call to stream_socket_accept on line 59. Anyone can help? I'm going to sleep, but will be back in the morning.

https://gist.github.com/skunkbad/a07e862...cbe652c829
Reply


Messages In This Thread
SSH tunnel for MySQL on remote server - by skunkbad - 02-18-2017, 02:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB