I’m trying to install influxdb on my ubuntu (14.04) server, however for some reason I don’t see my data base when I run show databases
.
To download and install influxdb I used the following commands:
wget https://dl.influxdata.com/influxdb/releases/influxdb_1.7.2_amd64.deb
sudo dpkg -i influxdb_1.7.2_amd64.deb
Then, I set the configurations as such:
### [http]
###
### Controls how the HTTP endpoints are configured. These are the primary
### mechanism for getting data into and out of InfluxDB.
###
[http]
# Determines whether HTTP endpoint is enabled.
enabled = true
# Determines whether the Flux query endpoint is enabled.
# flux-enabled = false
# The bind address used by the HTTP service.
bind-address = ":8086"
and:
### [collectd]
###
### Controls one or many listeners for collectd data.
###
[[collectd]]
enabled = true
bind-address = ":8086"
database = "collectd"
# retention-policy = ""
#
# The collectd service supports either scanning a directory for multiple types
# db files, or specifying a single db file.
typesdb = "/usr/share/collectd/types.db"
#
The first time I ran it, it said about /usr/share/collectd/types.db
that there is no such file or directory, so I created the collectd directory and downloaded types.db file from collectd/types.db at master · collectd/collectd · GitHub using wget as such:
wget https://github.com/collectd/collectd/blob/master/src/types.db
.
I restarted influxdb with sudo service influxdb restart
.
To check that everything works fine I ran show databases
in the terminal however I didn’t see my database , only the default one - _internal.
I checked the logs and all I can see there is: " unable to find “some_name_here” in TypesDB.
What am I missing here? How can I fix this?
Thanks in advance.