UNABLE TO COMPLETE INFLUXDB INSTALLATION

QIoT technology to allow you to explore potential IoT business opportunities.
Smart home/Smart building/Smart City/
Post Reply
carlop
First post
Posts: 1
Joined: Fri Apr 17, 2020 2:06 am

UNABLE TO COMPLETE INFLUXDB INSTALLATION

Post by carlop »

Hi, hope you can help me. I have a Qnap TS-251 ver. 4.3.40695, I am using dockers to download InfluxDB and Grafana thru the below tutorial:

https://qiot.qnap.com/blog/2018/12/12/i ... -qnap-nas/


I am stuck as I am unable to create a database on Influxdb:



• Create database
1. Create a name with “demo” and enter “create database demo

Any command I give ( “demo” or “create database demo” or “use <database>” ) I get an error, see the below:

root@e246af4c579f:/# influx
Connected to http://localhost:8086 version 1.8.0
InfluxDB shell version: 1.8.0
> show database
ERR: error parsing query: found DATABASE, expected CONTINUOUS, DATABASES, DIAGNOSTICS, FIELD, GRANTS, MEASUREMENT, MEASUREMENTS, QUERIES, RETENTION, SERIES, SHARD, SHA
RDS, STATS, SUBSCRIPTIONS, TAG, USERS at line 1, char 6
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use <database>".
> "demo"
ERR: error parsing query: found demo, expected SELECT, DELETE, SHOW, CREATE, DROP, EXPLAIN, GRANT, REVOKE, ALTER, SET, KILL at line 1, char 1
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use <database>".
> "use<database>"
ERR: error parsing query: found use<database>, expected SELECT, DELETE, SHOW, CREATE, DROP, EXPLAIN, GRANT, REVOKE, ALTER, SET, KILL at line 1, char 1
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use <database>".

Can you help me in finding out the mistake and allow me to continue the installation ?
Post Reply

Return to “QIoT”