Skip to content

Commit

Permalink
Merge pull request #5 from skysqlinc/external-repl-doc-edit
Browse files Browse the repository at this point in the history
Outbound replication edit
  • Loading branch information
bryan-skysql authored Mar 5, 2024
2 parents 14b216e + 6dbcf20 commit 2cc2ca5
Showing 1 changed file with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,12 @@ To configure outbound replication from your Replicated Transactions service in S
- MariaDB Server 10.5
- MariaDB Server 10.6

# Request User for Outbound Replication
# Create User for Outbound Replication

**On the SkySQL Customer Portal**[create a support case](https://mariadb.com/docs/skysql-previous-release/service-management/support/) to request a user account with sufficient privileges for outbound replication to the external replica server.
With the default database admin user provided, create an external_replication user as seen below.

SkySQL customers do not have sufficient privileges to create a user account that supports replication, so the user account must be created by SkySQL Support.

<aside>
💡 TODO - this above step should no longer be required. Needs to be confirmed

</aside>
CREATE USER 'replication_user'@'%' IDENTIFIED BY 'bigs3cret';
GRANT REPLICATION SLAVE ON *.* TO ‘external_replication’@'hostname';

# Check User Account

Expand All @@ -41,7 +37,7 @@ SkySQL customers do not have sufficient privileges to create a user account that
`+------------------------------------------------------------------------------------------------------------------------------------------------+
| Grants for external_replication@% |
+------------------------------------------------------------------------------------------------------------------------------------------------+
| GRANT REPLICATION SLAVE, SLAVE MONITOR ON *.* TO `external_replication`@`%` IDENTIFIED BY PASSWORD '*CCD3A959D6A004B9C3807B728BC2E55B67E10518' |
| GRANT REPLICATION SLAVE ON *.* TO `external_replication`@`%` IDENTIFIED BY PASSWORD '*CCD3A959D6A004B9C3807B728BC2E55B67E10518' |
+------------------------------------------------------------------------------------------------------------------------------------------------+`

# Add External Replica to Allowlist
Expand Down Expand Up @@ -172,4 +168,4 @@ Replication status can be checked using the `[SHOW REPLICA STATUS](https://ma
Slave_Non_Transactional_Groups: 0
Slave_Transactional_Groups: 0
```
```

0 comments on commit 2cc2ca5

Please sign in to comment.