隧道连接错误-MYSQL WORKBENCH

时间:2018-08-20 14:03:44

标签: mysql-workbench ssh-tunnel

我正在使用Forge Laravel,并在DigitalOcean中创建一个液滴以用作数据库。

但是当尝试通过MYSQL WORKBENCH连接时,向我显示此错误:

11:00:25 [INF][     SSH tunnel]: Existing SSH tunnel not found, opening new one
11:00:25 [INF][     SSH tunnel]: Opening SSH tunnel to 142.93.123.76:22
11:00:35 [ERR][     SSH tunnel]: TunnelManager.wait_connection got IOError: IO Error: timed out.
 Please refer to logs for details.
11:00:35 [ERR][sshtunnel.py:notify_exception_error:235]: Traceback (most recent call last):
  File "/usr/share/mysql-workbench/sshtunnel.py", line 303, in _connect_ssh
    look_for_keys=has_key, allow_agent=has_key, timeout=SSH_CONNECTION_TIMEOUT)
  File "/usr/lib/python2.7/dist-packages/paramiko/client.py", line 292, in connect
    retry_on_signal(lambda: sock.connect(addr))
  File "/usr/lib/python2.7/dist-packages/paramiko/util.py", line 270, in retry_on_signal
    return function()
  File "/usr/lib/python2.7/dist-packages/paramiko/client.py", line 292, in <lambda>
    retry_on_signal(lambda: sock.connect(addr))
  File "/usr/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
timeout: timed out

0 个答案:

没有答案