Influxdb

From Objectif Client Inc
Jump to navigation Jump to search

Influx

Influx

Initial Setup

Force listen on local IP

[http]
  bind-address = ."192.168.1.10"

Connect to a specific host

influx -host  myInfluxHost

Create Admin User

influx
CREATE USER myAdmin WITH PASSWORD 'myPassword' WITH ALL PRIVILEGES

Enable Login

[http]
   auth-enabled = true

Connect

  • Authentification
auth
   username:
   password:

Create Database

influx
create database database_name
show databases

Grant user to Database

  • Use Database
use myDatabase