现在 Authentication 是 enabled ,您需要先验证自己,然后才能在数据库中执行任何操作。
Authentication
enabled
错误 unable to parse Basic Auth credentials 建议您没有传递任何凭据。
unable to parse Basic Auth credentials
如果你正在尝试使用 influx 二进制创建一个用户然后你必须设置 -username 和 -password 选项。
influx
-username
-password
例如:
influx -username "my_username" -password "my_password" \ -execute "CREATE USER parul WITH PASSWORD 'timeseries4days'