Influxdb: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 9: Zeile 9:
 
>create database telegraf;
 
>create database telegraf;
 
==Create a user==
 
==Create a user==
>create user telegraf with password ‘oimel’;
+
>create user telegraf with password 'oimel';
 +
 
 
==Grant rights to user==
 
==Grant rights to user==
 
>grant all on telegraf to telegraf;
 
>grant all on telegraf to telegraf;

Version vom 15. Mai 2017, 13:54 Uhr

Install

Influx Client

Enter the Client

  • influx

Create a database

>create database telegraf;

Create a user

>create user telegraf with password 'oimel';

Grant rights to user

>grant all on telegraf to telegraf;

Drop a database

>drop database telegraf;

Drop a user

>drop user telegraf with password ‘oimel’;