influxdata / influxdata/influxdb
Err:unable to parse authentication credentials
- 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.


Contributor 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