InfluxDB 2.0.8 CLI远程访问与基本验证

发布于 2025-02-13 14:14:43 字数 131 浏览 1 评论 0原文

是否有一种方法可以使用infux CLI工具(用户名和密码)连接到Windows的涌入DB 2.0.8?

在文档中找不到任何东西,它要么需要令牌,要么假设CLI在带有InfluxDB的同一台计算机上运行。

Is there a way to connect to an Influx DB 2.0.8 remotely from Windows using the influx cli tool with basic auth (username and password)?

Cannot find anything in the documentation, it either requires a token or assumes the CLI is run on the same machine with InfluxDB.

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

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

发布评论

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

评论(1

潦草背影 2025-02-20 14:14:43

InfluxDB 2.X的CLI使用组织和令牌进行身份验证,而不是用户名和密码。

有关如何设置该设置的信息,请参见Influx Config创建-HELP

您还可以使用Influx Config命令在2.x CLI中添加多个凭据,以允许在开发和生产或其他任何方面来回切换。

The CLI for InfluxDB 2.x uses organization and token for authentication, rather than username and password.

See influx config create --help for information on how to set that up.

You can also add multiple credentials to the 2.x CLI, to allow switching back and forth between development and production, or whatever, using the influx config command.

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