Skip to content

Commit 380a12d

Browse files
committed
Add instructions for select on one but not all tables
1 parent a8c8f2d commit 380a12d

File tree

1 file changed

+7
-0
lines changed
  • content/integrate/redis-data-integration/data-pipelines/prepare-dbs/aws-aurora-rds

1 file changed

+7
-0
lines changed

content/integrate/redis-data-integration/data-pipelines/prepare-dbs/aws-aurora-rds/aws-aur-mysql.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ to capture changes.
7171

7272
Replace `<username>` with the username of the Debezium user.
7373

74+
You can also grant SELECT permissions for specific tables only. The other permissions are global and cannot be restricted to specific tables.
75+
76+
```sql
77+
GRANT RELOAD, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT, LOCK TABLES ON *.* TO '<username>'@'%';
78+
GRANT SELECT ON <database>.<table> TO '<username>'@'%';
79+
```
80+
7481
1. Finalize the user's permissions:
7582
7683
```sql

0 commit comments

Comments
 (0)