I'm trying to get two instances of MySQLWorkbench running simultaneously but I'm running into this issue. If I navigate to my applications and double click the application everything works fine and I can connect to my remote databases, but if I try:

open /Applications/MySQLWorkbench.app

then I get the error "cannot start SSH tunnel manager" when trying to connect to any remote databases. I've tried running with sudo and various combinations of Fna but still nothing. The man pages for open even say:

The open command opens a file (or a directory or URL), just as if you had double-clicked the file's icon.

  • Can you connect to remote databases when only the open MySQLWorkbench is running? I’m guessing that your first session is using sockets that the second session is also trying to use. Resulting in the second SSH Tunnel Manager being unable to start. – Peschke Nov 10 '18 at 8:42
  • No, even if I have just a single session open it still cannot connect when opened via the open command – Robbie Milejczak Nov 10 '18 at 20:55
  • Interesting. When the process is running from an icon click, what user owns it? Is it the same user as when you use the open command? – Peschke Nov 10 '18 at 23:56
  • not sure, is there any easy way to check this? – Robbie Milejczak Nov 11 '18 at 21:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.