Skip to content

Commit 4ba6711

Browse files
Merge pull request #4788 from VandhanaMehta/azure-databases-docs-pr
updating fabric mirroring docs
2 parents 8614752 + 9d23c66 commit 4ba6711

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ 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 must have the required permissions to support mirroring operations. This includes not only **SELECT** permissions on all databases and tables selected for mirroring, but also additional privileges needed for routines and execution as shown below. In the following example, "test" is the MySQL user and "db1" is the target database:
36+
37+
```sql
38+
GRANT CREATE TEMPORARY TABLES, SELECT, CREATE ROUTINE, ALTER ROUTINE, EXECUTE ON db1.* TO 'test'@'%';
39+
GRANT SELECT, EXECUTE ON fabric_info.* TO 'test'@'%';
40+
GRANT EXECUTE ON mysql.* TO 'test'@'%';
41+
```
42+
3643
- **Fabric capacity**: An active Microsoft Fabric capacity (or Fabric trial).
3744

3845
## Set up mirroring in Azure Database for MySQL

0 commit comments

Comments
 (0)