如何将EC2上托管的MongoDB连接到Tableau

时间:2018-11-13 11:05:58

标签: mongodb amazon-web-services amazon-ec2 tableau

我有一个EC2实例设置,其中包含手动安装的mongodb免费版。

  1. 已添加具有username访问权限的passwordreadWrite用户。
  2. /etc/mongod.conf

    所做的更改

    a。添加了bindIp: 0.0.0.0

    b。添加了security: authorization: 'enabled' 当前,它在以下端口上运行:27017

现在,我能够以通常的方式访问mongodb,但不能通过Tableau软件进行访问。我收到此错误消息

与MongoDB BI连接器通信时发生错误。

The connection to the data source might have been lost.
[MySQL][ODBC 5.3(w) Driver]Lost connection to MySQL server at 'waiting for initial communication packet', system error: 10060
Unable to connect to the MongoDB BI Connector server "EC2 public IP". Check that the server is running and that you have access privileges to the requested database.

MongoDb BI Connector中,我添加了以下详细信息以连接到我的EC2 mongodb

服务器:EC2 public IP

端口:27017

用户/密码:The one added in mongodb shell, username/password

我想念什么吗?为什么我无法连接?

我的Tableau托管在其他EC2实例上,不确定是否是问题所在

0 个答案:

没有答案