Influxdb: Difference between revisions
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
=== Create Database === | === Create Database === | ||
<syntaxhighlight lang="mysql"> | <syntaxhighlight lang="mysql"> | ||
CREATE DATABASE database_name | |||
SHOW DATABASES | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 05:55, 16 October 2020
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
CREATE DATABASE database_name
SHOW DATABASES
Grant user to Database
- Use Database
use myDatabase