Discussion:
[influxdb] ERR: unable to parse authentication credentials
Earl Hicks
2017-12-31 23:54:21 UTC
Permalink
I've loaded Influxdb on a raspberry pi and receive the following with I
input 'influx'
$ influx
Connected to http://localhost:8086 version 1.4.2
InfluxDB shell version: 1.4.2

But when I try to create a new database, or seek existing databases I
CREATE DATABASE mydb
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>".

or
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 <database>".
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/9076e226-b94b-49c3-9705-ac7b82a76215%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Earl Hicks
2018-01-01 16:08:35 UTC
Permalink
I figured it out. I had to start the Influx session with:
$ influx -username admin -password **************

I then get:
Connected to http://localhost:8086 version 1.4.2
InfluxDB shell version: 1.4.2
SHOW USERS
user admin
---- -----
admin true
openhab false
grafana false
SHOW DATABASES
name: databases
name
----
_internal
openhab_db
I've loaded Influxdb on a raspberry pi and receive the following with I
input 'influx'
$ influx
Connected to http://localhost:8086 version 1.4.2
InfluxDB shell version: 1.4.2
But when I try to create a new database, or seek existing databases I
CREATE DATABASE mydb
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>".
or
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 <database>".
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/eaf491d6-1cd9-49e9-842f-8bb87ea1f6f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...