Unix Technical Forum

HOWTO IGNORE STATEMENTS SQL REPLICATION IN MASTER

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


Go Back   Unix Technical Forum > Database Server Software > MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-04-2008, 06:24 AM
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com