This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Add connection via SSH Tunnel | ||
---|---|---|---|
Product: | db | Reporter: | nbphpuser <nbphpuser> |
Component: | SQL Editor | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | NEW --- | ||
Severity: | normal | CC: | fredgarlov00, matthias42, romanmostyka |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
nbphpuser
2010-05-22 10:26:40 UTC
The interesting question: Is there a generic way to do this? Maybe there needs to be a way to allow additional actions before/after a/the first connection was made. Background: For mysql exists a replacement SocketFactory implementation, that uses jsch to create a tunnel. But this is not too stable. The alternative: Use JSCH to create a generic tcp Tunnel to access the db - but then the jdbc URL has to be changed - and: How should this be shown in the GUI? About GUI question, please, take a look at http://www.sequelpro.com/docs/Set_up_an_SSH_Tunnel Navicat does it nice: http://www.navicat.de/manual/online_manual/en/navicat/win_manual/index.html Screenshot: http://www.sitepoint.com/blogs/wp-content/uploads/2009/03/017-mysql-connect.png *** Bug 155357 has been marked as a duplicate of this bug. *** |