influxdata / influxdata/influxdb

Err:unable to parse authentication credentials

Open
#23,404 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

if we ran any command in the CLI getting below error

Microsoft Windows [Version 10.0.17763.2928]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\masthan\influxdb-1.8.10-1>influx
Connected to http://localhost:8086 version 1.8.5
InfluxDB shell version: 1.8.10
> show databases
ERR: unable to parse authentication credentials
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use ".
>
> create user admin
ERR: unable to parse authentication credentials
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use ".
> influx setup
ERR: unable to parse authentication credentials
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use ".
> sudo systemctl stop influxdb
ERR: unable to parse authentication credentials
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use ".
>
>

Can anyone help me on this issue.

Influxdb screenshot attached.
![client](https://user-images.githubusercontent.com/106140369/171863279-ebbfcdd5-d1bf-498a-8ea6-71e519184a9e.PNG)
![Server](https://user-images.githubusercontent.com/106140369/171863280-cf49062d-c367-43f5-b5eb-1510735e641e.PNG)

Contributor guide

Open the contributing guide

Research direction

The issue provides only a Windows CLI transcript for InfluxDB 1.8.5/1.8.10 and names no source files or tests. Reproduce the commands against the reported setup, then trace the authentication error and its warning to identify the affected CLI or server path; done requires a confirmed cause, a scoped fix, and regression coverage.

Written by the indexing model from the issue text.

Assessment

Domain
cli, databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.