Skip to content

Commit 3f950ca

Browse files
authored
Merge pull request #118683 from rayamsandhir/patch-1
Updated permission list for newuser to access Custom DB
2 parents 132a6ca + 935fcfe commit 3f950ca

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

articles/hdinsight/hdinsight-custom-ambari-db.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,17 @@ The custom Ambari DB has the following other requirements:
3232
- The name of the database cannot contain hyphens or spaces
3333
- You must have an existing Azure SQL DB server and database.
3434
- The database that you provide for Ambari setup must be empty. There should be no tables in the default dbo schema.
35-
- The user used to connect to the database should have SELECT, CREATE TABLE, and INSERT permissions on the database.
35+
- The user used to connect to the database should have **SELECT, CREATE TABLE, INSERT, UPDATE, DELETE, ALTER ON SCHEMA and REFERENCES ON SCHEMA** permissions on the database.
36+
```sql
37+
GRANT CREATE TABLE TO newuser;
38+
GRANT INSERT TO newuser;
39+
GRANT SELECT TO newuser;
40+
GRANT UPDATE TO newuser;
41+
GRANT DELETE TO newuser;
42+
GRANT ALTER ON SCHEMA::dbo TO newuser;
43+
GRANT REFERENCES ON SCHEMA::dbo TO newuser;
44+
```
45+
3646
- Turn on the option to [Allow access to Azure services](/azure/azure-sql/database/vnet-service-endpoint-rule-overview#azure-portal-steps) on the server where you host Ambari.
3747
- Management IP addresses from HDInsight service need to be allowed in the firewall rule. See [HDInsight management IP addresses](hdinsight-management-ip-addresses.md) for a list of the IP addresses that must be added to the server-level firewall rule.
3848

0 commit comments

Comments
 (0)