Click here to Skip to main content
15,885,742 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am new to ubuntu and InfluxDB I'm windows 11 OS user i installed ubuntu app from Microsoft store... from that i installed influxdb, when i am going to open influxdb it connect to localhost :8086 after that when i call to SHOW DATABASES i am getting error of ERR: received status code 401 from server.
what should i do....?? please help me.

thank you

What I have tried:

influx
Connected to http://localhost:8086 version 2.1.1
InfluxDB shell version: 1.6.4
> show databases
ERR: received status code 401 from server
>
Posted
Updated 26-Apr-22 22:58pm
Comments
Richard MacCutchan 22-Feb-22 6:47am    
The message means that you have not been authorized to access some data controlled by the server. But we have no way of telling why that is.

1 solution

Hello, I have the same problem currently for `CREATE DATABASE`, have you found the solution since?
 
Share this answer
 
Comments
Richard Deeming 27-Apr-22 5:29am    
"Me too" is not a solution to anyone's question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900