Influxdb: Difference between revisions
Jump to navigation
Jump to search
Line 38: | Line 38: | ||
=== Create Database === | === Create Database === | ||
<pre>influx</pre> | <pre>influx</pre> | ||
<syntaxhighlight lang="mysql">create database database_name | <syntaxhighlight lang="mysql"> | ||
create database database_name | |||
show databases | |||
</syntaxhighlight> | |||
=== Grant user to Database === | === Grant user to Database === |
Revision as of 05:54, 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
influx
create database database_name
show databases
Grant user to Database
- Use Database
use myDatabase