SSH隧道到MySQL数据库

时间:2017-12-12 15:56:23

标签: mysql ssh portforwarding ssh-tunnel

我们正在为我们公司的销售数据库设置Tableau连接,到目前为止,尝试连接的人(他们来自其他公司)不断获取否认。他们得到的错误如下:

Unable to connect to the ODBC Data Source. Check that the necessary drivers are installed and that the connection properties are valid.

Can't connect to MySQL server on '[IP address] (61).'

Unable to connect to the server '[IP address].' Check that the server is running and that you have access privileges to the requested database.

今天我们打开了端口3306和20560.我们希望我们可以设置某种端口转发功能,以便它们连接到20560.但是我不确定我们需要做什么来设置它。我还被告知SSH隧道是一种选择,但与PuTTY连接并不会产生任何结果。

我完全不知道为了让他们连接我需要做些什么。我也不确定开口3306是否安全,我想知道我是否应关闭它。我随机选择20560端口,因为它没有被用于任何东西。我们不希望任何人连接,但我被告知连接到我们数据库的IP地址可能不是静态的。

0 个答案:

没有答案
相关问题