cockroachdb create user

Solutions on MaxInterview for cockroachdb create user by the best coders in the world

showing results for - "cockroachdb create user"
Noha
12 Feb 2019
1#Create User
2CREATE USER <CREATEDUSER> WITH PASSWORD '<PASSWORD>';
3
4#Grants Permission for database or table
5GRANT SELECT, INSERT, UPDATE, DELETE ON DATABASE <DATABASENAME> TO <CREATEDUSER>;
6
7#Revoke access from database or table
8REVOKE SELECT ON DATABASE <DATABASENAME> FROM <USER_OR_ROLE>;