From a497675e2cde42506721cb0bb43954e5bfd1c5a5 Mon Sep 17 00:00:00 2001 From: sergiyvamz Date: Wed, 19 Nov 2025 11:45:54 -0800 Subject: [PATCH 1/2] docs: permissions for non-admin users accessing MultiAZ clusters --- .../SupportForRDSMultiAzDBCluster.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md b/docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md index 457a1f034..9e82a1fe4 100644 --- a/docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md +++ b/docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md @@ -8,6 +8,12 @@ The process of using the AWS JDBC Driver with RDS Multi-AZ DB Cluster is the sam ### MySQL +There are permissions that must be granted to all non-administrative users who need database access. Without proper access, these users cannot utilize many of the driver's advanced features, including failover support. To grant the necessary permissions to non-administrative users, execute the following statement: + +```sql +GRANT SELECT ON mysql.rds_topology TO 'non-admin-username'@'%' +``` + Preparing a connection with MySQL in a Multi-AZ Cluster remains the same as before: ```java @@ -24,6 +30,12 @@ Per AWS documentation and [this blog post](https://aws.amazon.com/blogs/database CREATE EXTENSION rds_tools; ``` +The extension must be granted to all non-administrative users who need database access. Without access to `rds_tools`, non-admin users cannot utilize many of the driver's advanced features, including failover support. To grant the necessary permissions to non-administrative users, execute the following statement: + +```sql +GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA rds_tools TO ; +``` + Then, prepare the connection with: ```java From e9f8f613594b940fed602457ee8a35be20de8a0f Mon Sep 17 00:00:00 2001 From: sergiyvamz <75754709+sergiyvamz@users.noreply.github.com> Date: Wed, 19 Nov 2025 12:37:53 -0800 Subject: [PATCH 2/2] Update docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md Co-authored-by: Sophia Chu <112967780+sophia-bq@users.noreply.github.com> --- docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md b/docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md index 9e82a1fe4..795dabebd 100644 --- a/docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md +++ b/docs/using-the-jdbc-driver/SupportForRDSMultiAzDBCluster.md @@ -33,7 +33,7 @@ CREATE EXTENSION rds_tools; The extension must be granted to all non-administrative users who need database access. Without access to `rds_tools`, non-admin users cannot utilize many of the driver's advanced features, including failover support. To grant the necessary permissions to non-administrative users, execute the following statement: ```sql -GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA rds_tools TO ; +GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA rds_tools TO non-admin-username; ``` Then, prepare the connection with: