You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/using-the-python-driver/SupportForRDSMultiAzDBCluster.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,12 @@ The process of using the AWS Advanced Python Driver with RDS Multi-AZ DB Cluster
8
8
9
9
### MySQL
10
10
11
+
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:
12
+
13
+
```sql
14
+
GRANTSELECTONmysql.rds_topology TO 'non-admin-username'@'%'
15
+
```
16
+
11
17
Preparing a connection with MySQL in a Multi-AZ Cluster remains the same as before:
12
18
13
19
```python
@@ -32,6 +38,12 @@ Per AWS documentation, the `rds_tools` extension must be manually installed usin
32
38
CREATE EXTENSION rds_tools;
33
39
```
34
40
41
+
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:
42
+
43
+
```sql
44
+
GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA rds_tools TO non-admin-username;
Copy file name to clipboardExpand all lines: docs/using-the-python-driver/using-plugins/UsingTheBlueGreenPlugin.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ The AWS Python Driver leverages the Blue/Green Deployment approach by intelligen
23
23
> Additional Requirements:
24
24
>
25
25
> - AWS cluster and instance endpoints must be directly accessible from the client side
26
+
> -:warning: If connecting with non-admin users, permissions must be granted to the users so that the blue/green metadata table/function can be properly queried. If the permissions are not granted, the metadata table/function will not be visible and blue/green plugin functionality will not work properly. Please see the [Connecting with non-admin users](#connecting-with-non-admin-users) section below.
26
27
> - Connecting to database nodes using CNAME aliases is not supported
27
28
>
28
29
> **Blue/Green Support Behaviour and Version Compatibility:**
@@ -83,14 +84,26 @@ The plugin establishes dedicated monitoring connections to track Blue/Green Depl
83
84
84
85
```python
85
86
props = Properties()
87
+
// Configure the timeout values for all, non-monitoring connections.
86
88
props["connect_timeout"] =30
89
+
// Configure different timeout values for the Blue/Green monitoring connections.
> **Always ensure you provide a non-zero connect timeout value to the Blue/Green Deployment Plugin**
92
95
>
93
96
97
+
## Connecting with non-admin users
98
+
> [!WARNING]\
99
+
> If connecting with non-admin users, permissions must be granted to the users so that the blue/green metadata table/function can be properly queried. If the permissions are not granted, the metadata table/function will not be visible and blue/green plugin functionality will not work properly.
0 commit comments