HOWTO IGNORE STATEMENTS SQL REPLICATION IN MASTER

This is a discussion on HOWTO IGNORE STATEMENTS SQL REPLICATION IN MASTER within the MySQL Database forums, part of the Database Forums category; Hi! I have Mysql 5.0.27, one master and several slaves. I would like to know if there is ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-03-2008
AlvaroMako
 
Posts: n/a
Default HOWTO IGNORE STATEMENTS SQL REPLICATION IN MASTER

Hi!

I have Mysql 5.0.27, one master and several slaves.

I would like to know if there is any option to ignore SQL statements
executed in master, affecting certain tables not to write on the files
BINLOG.

I know that if I execute in master, for example:
$mysql bbdd -e "SET SQL_LOG_BIN=0;UPDATE Customer SET CODE=1 WHERE
ID=2;SET SQL_LOG_BIN=1;"

this statement will not be written in the BINLOG in master, but I want
an option like "--replicate-ignore-table=Customer", but this option is
only for slave not to master.

Thanks very much.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0