Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
22.08.14
-
MXS-SPRINT-221
Description
A client wants to prevent user and user privilege statements from replicating to an offsite replica.
This replica replicates via a binlog router.
The issue is important for the client as they want to use the offsite replica with different users and privileges compared to their on-premise databases and is blocking our ability to fulfil their request. (see support ticket).
I setup an binlog filter to exclude mysql.user statements but the filter does not exclude the create user, grant statements from running via replication on the offsite replica
https://mariadb.com/kb/en/mariadb-maxscale-2208-binlog-filter/
– based on documentation
– exclude/ignore any statements going to mysql.user
[BinlogFilter]
|
type=filter
|
module=binlogfilter
|
exclude=/mysql[.]user/
|
When I reviewed the binlog there is no mention of a table (mysql.user) when those grant statements are run.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
A client wants to prevent user and user privilege statements from replicating to an offsite replica.
This replica replicates via a binlog router. The issue is important for the client as they want to use the offsite replica with different users and privileges compared to their on-premise databases and is blocking our ability to fulfil their request. (see support ticket). I setup an binlog filter to exclude mysql.user statements but the filter does not exclude the create user, grant statements from running via replication on the offsite replica https://mariadb.com/kb/en/mariadb-maxscale-2208-binlog-filter/ -- based on documentation -- exclude/ignore any statements going to mysql.user {{[BinlogFilter] type=filter module=binlogfilter exclude=/mysql[.]user/}} When I reviewed the binlog there is no mention of a table (mysql.user) when those grant statements are run. More info in ticket https://mariadb.zendesk.com/agent/tickets/207207 |
A client wants to prevent user and user privilege statements from replicating to an offsite replica.
This replica replicates via a binlog router. The issue is important for the client as they want to use the offsite replica with different users and privileges compared to their on-premise databases and is blocking our ability to fulfil their request. (see support ticket). I setup an binlog filter to exclude mysql.user statements but the filter does not exclude the create user, grant statements from running via replication on the offsite replica https://mariadb.com/kb/en/mariadb-maxscale-2208-binlog-filter/ -- based on documentation -- exclude/ignore any statements going to mysql.user {code} [BinlogFilter] type=filter module=binlogfilter exclude=/mysql[.]user/ {code} When I reviewed the binlog there is no mention of a table (mysql.user) when those grant statements are run. More info in ticket https://mariadb.zendesk.com/agent/tickets/207207 |
Description |
A client wants to prevent user and user privilege statements from replicating to an offsite replica.
This replica replicates via a binlog router. The issue is important for the client as they want to use the offsite replica with different users and privileges compared to their on-premise databases and is blocking our ability to fulfil their request. (see support ticket). I setup an binlog filter to exclude mysql.user statements but the filter does not exclude the create user, grant statements from running via replication on the offsite replica https://mariadb.com/kb/en/mariadb-maxscale-2208-binlog-filter/ -- based on documentation -- exclude/ignore any statements going to mysql.user {code} [BinlogFilter] type=filter module=binlogfilter exclude=/mysql[.]user/ {code} When I reviewed the binlog there is no mention of a table (mysql.user) when those grant statements are run. More info in ticket https://mariadb.zendesk.com/agent/tickets/207207 |
A client wants to prevent user and user privilege statements from replicating to an offsite replica.
This replica replicates via a binlog router. The issue is important for the client as they want to use the offsite replica with different users and privileges compared to their on-premise databases and is blocking our ability to fulfil their request. (see support ticket). I setup an binlog filter to exclude mysql.user statements but the filter does not exclude the create user, grant statements from running via replication on the offsite replica https://mariadb.com/kb/en/mariadb-maxscale-2208-binlog-filter/ -- based on documentation -- exclude/ignore any statements going to mysql.user {code} [BinlogFilter] type=filter module=binlogfilter exclude=/mysql[.]user/ {code} When I reviewed the binlog there is no mention of a table (mysql.user) when those grant statements are run. |
Status | Open [ 1 ] | Needs Feedback [ 10501 ] |
Assignee | Paul Moen [ paul.moen ] |
Assignee | Paul Moen [ paul.moen ] | markus makela [ <markus.makela ] |
Status | Needs Feedback [ 10501 ] | Open [ 1 ] |
Rank | Ranked higher |
Sprint | MXS-SPRINT-221 [ 773 ] |
Rank | Ranked lower |
Rank | Ranked lower |
Fix Version/s | N/A [ 22001 ] | |
Resolution | Not a Bug [ 6 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |