首页 > 解决方案 > 无法将 tableau 连接到 MongoDB

问题描述

我在这个问题上挣扎了很多天在我的 cmd 显示...

2020-06-25T16:54:34.541+0700 I  CONTROL  [initandlisten]
2020-06-25T16:54:34.541+0700 I  CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2020-06-25T16:54:34.541+0700 I  CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.

2020-06-29T08:50:44.280+0700 I  NETWORK  [listener] Listening on 127.0.0.1
2020-06-29T08:50:44.280+0700 I  NETWORK  [listener] waiting for connections on port 27017

这是我来自 Tableau 的错误消息

An error occurred while communicating with MongoDB BI Connector
Unable to connect to the server. Check that the server is running and that you have access privileges to the requested database.
Error Code: 37CE01A3
[MySQL][ODBC 1.0(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 "127.0.0.1". Check that the server is running and that you have access privileges to the requested database.

标签: mongodbtableau-api

解决方案


该日志似乎来自 mongod 节点。

为了与 Tableau 连接,您需要使用 BI 连接器。

https://www.mongodb.com/tableau


推荐阅读