Peter Larsen <[EMAIL PROTECTED]> wrote:
> 
> Replication does not happend if inserts (update not tested) is made without 
> "mysql_select_db("database", $connection); " (yes, I use php..).
> 
> 
> Working:
> mysql_select_db("database", $connection);
> mysql_query("INSERT INTO table (text1, text2) VALUES ('bah', 'bah')");
> 
> 
> Not working (data only apreas in the log files on slave, and on master 
> database, but NOT in slave database)
> mysql_query("INSERT INTO database.table (text1, text2) VALUES ('bah', 
> 'bah')");
> 
> 
> This is extreamly annoying.

It's a correct behaviour if you use replicate-do-db option:

        http://www.mysql.com/doc/en/Replication_Options.html


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to