InfluxDB 1.x administration
User and rights management
| create admin | CREATE USER <username> WITH PASSWORD '<password>' WITH ALL PRIVILEGES |
|---|---|
| create user | CREATE USER <username> WITH PASSWORD '<password>' |
| grant rights | GRANT READ ON <database_name> TO <username> |
Running in Docker
executing queries in docker-compose setup
cd /path/to/compose/folder # replace influxdb with service name docker-compose exec influxdb influx