![]() Let's take another example If we are using AWS service and we have two servers one is a DB server and another is the SSH server on which the Web Server is running. In such a scenario, we set up an SSH tunnel with the remote server, to securely connect to the local network of the remote server to access the 3306 port on the remote server. In this case, if you want to access the DB server from your local machine(connected to the internet), you won't be able to do it. If we have a database server, let's say MySQL is running on a remote server with some IP address and for which the port number 3306 which is the default port for MySQL is only available on the local network of the remote server. Let's take a simple example to understand this. So let's get started!Īn SSH tunnel or SSH port forwarding is a mechanism to establish a secure connection between a client machine and a server. If you are a Windows user, I would recommend using the Mobaxterm application for doing this. You can easily setup SSH on Mac without doing any extra work. Yes, we do not have to install any other application to do so, as we do in Windows. Maybe a 64-bit version of Workbench can solve the problem.If you want to set up an SSH tunnel with your remote server using your Macbook, you can easily do so using the default Terminal application available in the Mac OS. #then start MySQL Workbench from command line ** (process:1920): WARNING **: Error starting tunnel manager: Cannot start SSH tunnel managerĬurrent none python24 python25 python26 python26-apple ** (process:1920): WARNING **: Tunnel manager could not be executed ** Message: Failed loading module '/Applications/MySQLWorkbench.app/Contents/PlugIns/wb_doclib_grt.py' (python)įile "/Applications/MySQLWorkbench.app/Contents/Resources/sshtunnel.py", line 5, in opt/local/lib/python2.5/lib-dynload/_socket.so: mach-o, but wrong architecture ImportError: dlopen(/opt/local/lib/python2.5/lib-dynload/_socket.so, 2): no suitable image found. ** Message: Failed loading module '/Applications/MySQLWorkbench.app/Contents/PlugIns/wb_admin_grt.py' (python)įile "/Applications/MySQLWorkbench.app/Contents/PlugIns/wb_doclib_grt.py", line 27, in įile "/opt/local/Library/Frameworks/amework/Versions/2.5/lib/python2.5/socket.py", line 45, in opt/local/lib/python2.5/lib-dynload/math.so: mach-o, but wrong architecture ImportError: dlopen(/opt/local/lib/python2.5/lib-dynload/math.so, 2): no suitable image found. I also tried to import these required libs from inside python, they all succeeded, no error.įile "/Applications/MySQLWorkbench.app/Contents/PlugIns/wb_admin_grt.py", line 21, in įile "/opt/local/Library/Frameworks/amework/Versions/2.5/lib/python2.5/tempfile.py", line 33, in įile "/opt/local/Library/Frameworks/amework/Versions/2.5/lib/python2.5/random.py", line 43, in įrom math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil However, not sure how to fix the problem. It complains the incompatibility between python lib and Workbench. I can't see any difference between these two versions.īelow is the error message. I inspected both version of python, they are all 64 bit. The problem disappears as soon as I switch back to default python. I found the problem is caused by switch to use macport's python instead of the default python provided by the system. It seems only 32-bit is available for download on Mac OS. ![]() I'm using Mac OS Leopard, and latest 5.2.29 32-bit Workbench. Because of the error, I can't ssh to my remove servers. ![]() Start to having problem using workbench, it always saying "cannot start SSH tunnel manager". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |