SSH tunnel for MySQL on remote server |
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 |
Messages In This Thread |
SSH tunnel for MySQL on remote server - by skunkbad - 02-18-2017, 02:08 AM
RE: SSH tunnel for MySQL on remote server - by Diederik - 02-18-2017, 03:48 AM
RE: SSH tunnel for MySQL on remote server - by skunkbad - 02-18-2017, 09:37 AM
RE: SSH tunnel for MySQL on remote server - by Diederik - 02-18-2017, 12:32 PM
RE: SSH tunnel for MySQL on remote server - by skunkbad - 02-18-2017, 03:37 PM
RE: SSH tunnel for MySQL on remote server - by skunkbad - 02-19-2017, 11:04 AM
|