WL #36 - Add a mysqlbinlog option to change the used database

Registered by Oleg Tsarev on 2012-02-09

=========================
Ability to change database for mysqlbinlog
=========================

Sometimes there is a need to take a binary log and apply it to a database with
a different name than the original name of the database on binlog producer.

If one is using statement-based replication, he can achieve this by grepping
out "USE dbname" statements out of the output of mysqlbinlog(*). With
row-based replication this is no longer possible, as database name is encoded
within the the BINLOG '....' statement.

This task is about adding an option to mysqlbinlog that would allow to change
the names of used databases in both RBR and SBR events.

Varible :variable:`rewrite-db` of **mysqlbinlog** utility allows to setup rewriting rule "from->"to".

Related links: http://askmonty.org/worklog/Server-Sprint/?tid=36

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Oleg Tsarev
Direction:
Approved
Assignee:
Oleg Tsarev
Definition:
Approved
Series goal:
Accepted for 5.1
Implementation:
Implemented
Milestone target:
milestone icon 5.1.62-13.3
Started by
Laurynas Biveinis on 2012-03-19
Completed by
Laurynas Biveinis on 2012-03-19

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.