| 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> |
cd /path/to/compose/folder # replace influxdb with service name docker-compose exec influxdb influx