在Heroku上发现MongoDB数据库主机名
我需要通过Pentaho连接到MongoDB(Heroku)数据库,但在任何地方都找不到主机名。有人知道我在哪里可以找到吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我需要通过Pentaho连接到MongoDB(Heroku)数据库,但在任何地方都找不到主机名。有人知道我在哪里可以找到吗?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
我没有与Heroku合作,但是您可能会在某个地方使用一个配置面板,其中包含数据库连接到数据库,我会在Heroku上询问。
此链接不是直接相关的,而是解释了如何使用MongoDB连接到Atlas MongoDB数据库的uri添加到Heroku a config a var,也许您可能会有类似的内容:https://www.mongodb.com/developer/products/atlas/use-atlas-on-heroku/< /a>
I haven't worked with Heroku, but probably you'll have a configuration panel somewhere with the data to connect to the database, I would ask on Heroku about it.
This link is not directly related, but explains how to add to Heroku a Config Var with the URI of the MongoDB connection to an Atlas MongoDB database, probably you'll have something similar: https://www.mongodb.com/developer/products/atlas/use-atlas-on-heroku/