@Mateusz PiÄ…tkowski (bananq):

You could always try to manually set up a tunnel yourself via the
terminal:

1. Open up a terminal.
2. Enter: ssh -L 3307:localhost:3306 [email protected]
3. Open MySQL Workbench.
4. Create a new "Standard (TCP/IP)" connection.
5. For the hostname, leave the default: 127.0.0.1
6. For the port: 3307 (assuming you've used 3307 as in my example above).
7. Enter the rest of your MySQL credentials.

Note that I have used 3307 in step 2 above. This would be necessary if
you have a local instance of MySQL Server listening on port 3306 (in
which case, it would not bind to 3306). If you don't have a local
instance of MySQL Server listening on port 3306, you could use:

ssh -L 3306:localhost:3306 [email protected]

and then for step 7 leave the default port - 3306.

I haven't tried out the above myself, but I see no reason why it
wouldn't work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1385147

Title:
  Unable to connect to remote MySQL server via SSH using MySQLWorkbench

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-workbench/+bug/1385147/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to