Skip to content

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andy-stark-redis
Copy link
Contributor

@andy-stark-redis andy-stark-redis commented Jun 16, 2025

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.

@andy-stark-redis andy-stark-redis requested review from yaronp68 and a team June 16, 2025 14:03
Copy link
Collaborator

@dwdougherty dwdougherty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Language LGTM. Approved.

@andy-stark-redis
Copy link
Contributor Author

Thanks @dwdougherty !

@andy-stark-redis andy-stark-redis requested review from ZdravkoDonev-redis and a team June 16, 2025 14:16
@cmilesb
Copy link
Contributor

cmilesb commented Jun 16, 2025

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/

@andy-stark-redis
Copy link
Contributor Author

@cmilesb Thanks for spotting that! So, assuming RDI in the Cloud is coming fairly soon, I guess I can just close this PR?

@cmilesb
Copy link
Contributor

cmilesb commented Jun 16, 2025

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 | - | - | - |
Copy link
Collaborator

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

Copy link
Contributor Author

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
Copy link
Collaborator

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

Copy link
Collaborator

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';
Copy link
Collaborator

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

Copy link
Collaborator

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'@'%';
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants