List:General Discussion« Previous MessageNext Message »
From:Egor Egorov Date:March 24 2004 4:18pm
Subject:Re: --replicate* question
View as plain text  
Egor Egorov <egor.egorov@stripped> wrote:
> Chua Choon Keng <choonkeng@stripped> wrote:
>>> What about using binlog-do-db=database_name
>> option? In this case only updates will be logged if
>> the current database is database_name
>> 
>> What if I only wish to replicate a few tables of a
>> database? Using binlog-do-db=database_name does
>> limit to this particular database but there is no
>> binlog-ignore-table option that I can use... Is
>> there a workaround?
>> 
> 
> Move tables that you want to replicate to the separate database and use binlog-do-db
> option.

Take a look also at SET SQL_BIN_LOG command:
	http://www.mysql.com/doc/en/SET_SQL_LOG_BIN.html



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   Egor.Egorov@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



Thread
--replicate* questionChua Choon Keng23 Mar
  • Re: --replicate* questionEgor Egorov23 Mar
Re: --replicate* questionChua Choon Keng24 Mar
  • Re: --replicate* questionEgor Egorov24 Mar
    • Re: --replicate* questionEgor Egorov24 Mar