Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Hang connecting to MYSQL

$
0
0
It seems that this works a lot better when I use a shared variable to establish the SSH connection and port forward. Since I'm developing a multi-threaded service with this, it would seem to make sense to basically establish the SSH connection and port forward a single time when the service starts up and simply leave it connected. When I use the library in this manner, I have no hanging issues with opening my MYSQL database connection. Hope this helps!

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>