I tried to install influxDB using Digital Ocean.
I started influx CLI using:
following lines appeared:
Connected to http://localhost:8086 version 1.7.2
InfluxDB shell version: 1.7.2
Enter an InfluxQL query
Then I wanted to create a database using following command:
CREATE DATABASE myDB
But I got this error:
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 <database>”.
I search on internet what was going on. All was about being logged with permission (correct me if i’m wrong)
I found this interesting post https://github.com/influxdata/influxdb/issues/5792 where someone managed to solve the error.
influx -username admin -password test
but… I never created any user for influx. I tried
create user admin with password ‘test’ with all privileges
Since the post is closed, I have to create a new one.
I’m stuck and i don’t know if I have to contact Digital Ocean support or someone here can help me.
Thanks for reading,