InfluxDB 2.0.8 CLI远程访问与基本验证
是否有一种方法可以使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.