-
Notifications
You must be signed in to change notification settings - Fork 218
DOC-5339 RDI: Aurora/MySQL prep instructions #1706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Language LGTM. Approved.
Thanks @dwdougherty ! |
I'm afraid that this might be duplicating some of the work I did as part of RDI in the Cloud: https://redis.io/docs/staging/preview-rc-rdi/integrate/redis-data-integration/data-pipelines/prepare-dbs/aws-aurora-rds/aws-aur-mysql/ |
@cmilesb Thanks for spotting that! So, assuming RDI in the Cloud is coming fairly soon, I guess I can just close this PR? |
I'll open a PR that cherry-picks the aws-aurora-rds folder I mentioned above so you can have those instructions on latest whenever you need them - unless @ZdravkoDonev-redis or @yaronp68 objects. |
| AWS Aurora/PostgreSQL | 15 | 15 | - | | ||
| AWS Aurora/MySQL | - | - | - | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aurora MySQL version 2.x is compatible with MySQL 5.7, while Aurora MySQL version 3.x is compatible with MySQL 8.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aurora MySQL version 2.x is compatible with MySQL 5.7, while Aurora MySQL version 3.x is compatible with MySQL 8.0
@yaronp68 Thanks for the suggestions, but @cmilesb has informed me that he already has an Aurora MySQL prep guide as part of the RDI in the Cloud docs (see his link to the other PR above). If you're OK with what he's got in that other PR, then I should just close this one as a duplicate. Sorry for the confusion.
Query OK, 0 rows affected (0.02 sec) | ||
``` | ||
|
||
## 4. Create a CDC user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from this point we can use the username and granst used by RDI mySQL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea of this section is to create the user. We haven't created the user prior to this step?
permissions for CDC: | ||
|
||
```sql | ||
CREATE USER 'cdc_user'@'%' IDENTIFIED BY 'password'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use the username we used with mySQL instructions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above comment again.
|
||
```sql | ||
CREATE USER 'cdc_user'@'%' IDENTIFIED BY 'password'; | ||
GRANT REPLICATION SLAVE, REPLICATION CLIENT, SELECT ON *.* TO 'cdc_user'@'%'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I was setting up RDS MySQL with Signify we executed the following for their database:
mysql> GRANT SELECT, RELOAD, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'mysqluser'@'%';
mysql> GRANT SUPER ON *.* TO 'mysqluser'@'%';
We'll need to double check the minimal grants needed.
DOC-5339
Based on the Rivery docs here. I think I've got all the relevant info, but let me know if anything is missing.