Skip to content

Commit 632edd6

Browse files
committed
updating fabric mirroring docs
1 parent 3294836 commit 632edd6

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

articles/mysql/integration/fabric-mirroring-mysql.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,15 @@ Before you set up Fabric mirroring for an Azure Database for MySQL, make sure th
3232
- **Supported service tiers**: General Purpose and Business-Critical.
3333
- **Supported MySQL versions**: 8.0 (LTS minor versions only).
3434
- **Binary log configuration**: `binlog_row_image` must be set to `FULL` or `NOBLOB`. If it's not set to one of these values, modify this setting in the Azure portal for Azure Database for MySQL. Go to **Settings > Server parameters** to make the necessary changes and save them.
35-
- **User permissions**: A MySQL user account with **SELECT** permissions on all databases and tables selected for mirroring.
35+
- **User permissions**: A MySQL user account with **SELECT** permissions on all databases and tables selected for mirroring. Below is an example of granting the required permissions to a MySQL user.
36+
37+
38+
```sql
39+
GRANT CREATE TEMPORARY TABLES, SELECT, CREATE ROUTINE, ALTER ROUTINE, EXECUTE ON db1.* TO 'test'@'%';
40+
GRANT SELECT, EXECUTE ON fabric_info.* TO 'test'@'%';
41+
GRANT EXECUTE ON mysql.* TO 'test'@'%';
42+
```
43+
3644
- **Fabric capacity**: An active Microsoft Fabric capacity (or Fabric trial).
3745

3846
## Set up mirroring in Azure Database for MySQL

0 commit comments

Comments
 (0)