在Heroku上发现MongoDB数据库主机名

发布于 2025-02-03 09:31:43 字数 69 浏览 3 评论 0 原文

我需要通过Pentaho连接到MongoDB(Heroku)数据库,但在任何地方都找不到主机名。有人知道我在哪里可以找到吗?

I need to connect to a MongoDB (Heroku) database through Pentaho, but I can't find the HostName anywhere. Does anyone know where I can find out?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

窝囊感情。 2025-02-10 09:31:43

我没有与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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文