【问题标题】:Connect to remote MySQL DB (Linux) from Windows using MySQL Workbench. Remote DB Connection requires local Socket使用 MySQL Workbench 从 Windows 连接到远程 MySQL DB (Linux)。远程数据库连接需要本地套接字
【发布时间】:2011-09-29 15:39:58
【问题描述】:

Linux 服务器只允许通过其本地套接字进行连接。

--socket=/tmp/mysql5.sock

我想使用 MySQL Workbench 连接到数据库,但不知道如何在那里指定套接字路径。 使用Standard TCP/IP over SSH 连接,我提供了 SSH 连接参数、数据库名称、用户名等。

非常感谢任何帮助。

【问题讨论】:

    标签: mysql windows linux workbench


    【解决方案1】:

    尝试设置到机器的 SSH 隧道:

    http://realprogrammers.com/how_to/set_up_an_ssh_tunnel_with_putty.html

    当我需要在任何地方进行 SSH 时,我在 Windows 上使用 PuTTY。说明相当详尽。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-01-19
      • 2020-05-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-29
      • 1970-01-01
      相关资源
      最近更新 更多