Created
January 6, 2017 14:12
-
-
Save winggundamth/f836e113522a9710b54c88de985c83bc to your computer and use it in GitHub Desktop.
Create InfluxDB database and non-admin user then grant all permission to that user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE USER "username" WITH PASSWORD 'password' | |
CREATE DATABASE "database" | |
GRANT ALL ON "username" TO "database" |
I think this should be
GRANT ALL ON "database" TO "username"
`> use server
Using database server
CREATE USER "Owned67" WITH PASSWORD '123456'
GRANT ALL ON "Owned67" to server`
ERR: user not found
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your grant syntax is wrong. It should be
GRANT [READ,WRITE,ALL] ON <database_name> TO