473,387 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Replication troubles

I seem to have replication set up correctly to only replicate one
database named vmail.*

Except when I try to update a table in vmail.* the changes do not
replicate to the slave. Authentication works fine. Binary logging
(log-bin) is enabled on both.

I have a feeling about one thing that might be wrong - "Binlog_do_db"
on the master server is empty when it should be "vmail".

Also "show slave status" on the master returns no results. There are
no error messages on either of the servers. Any ideas? Thanks a
bunch,
John

Various troubleshooting information follows:

Here are some settings for the Master Server:

my.cf (obvious settings left out):
log-bin
server-id = 1
replicate-do-db = vmail.*

mysql> show master status; # (run on master)
+--------------+----------+--------------+------------------+
| File | Position | Binlog_do_db | Binlog_ignore_db |
+--------------+----------+--------------+------------------+
| webx-bin.001 | 7835 | | |
+--------------+----------+--------------+------------------+

mysql> show slave status; # (run on master) this is empty

mysql> show processlist;
| 201 | repl | slave.local:42628 | NULL | Binlog Dump | 300 |
Slave: waiting for binlog update | NULL |
Here are some settings on the Slave Server:

my.cf (obvious settings left out):
log-bin
server-id = 10
replicate-do-db = vmail.*
mysql> show slave status\G
*************************** 1. row ***************************
Master_Host: webx
Master_User: repl
Master_Port: 3306
Connect_retry: 60
Master_Log_File: webx-bin.001
Read_Master_Log_Pos: 7835
Relay_Log_File: mx0-relay-bin.001
Relay_Log_Pos: 1934
Relay_Master_Log_File: webx-bin.001
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_do_db: vmail.*
Replicate_ignore_db:
Last_errno: 0
Last_error:
Skip_counter: 0
Exec_master_log_pos: 7835
Relay_log_space: 1934
Jul 19 '05 #1
0 1187

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Cherrish Vaidiyan | last post by:
Hello, I have certain doubts regarding replication of Oracle 9i in Red Hat Linux 9. 1) I want to implement asynchronous/synchronous multimaster replication.I have heard about Replication...
0
by: Cherrish Vaidiyan | last post by:
Frank <fbortel@nescape.net> wrote in message news:<bqgb99$a04$1@news1.tilbu1.nb.home.nl>... > Cherrish Vaidiyan wrote: > > Hello, > > > > I have certain doubts regarding replication of Oracle 9i ...
2
by: J-W Reuling | last post by:
Hi, I'm using replication on linux and aix for a while now. I've set up several replications from aix to aix, from linux to aix and vice versa. It was running just fine until a few days ago. I...
6
by: John | last post by:
Hi We have an access app (front-end+backend) running on the company network. I am trying to setup replication for laptop users who go into field and need the data synched between their laptops...
3
by: dlesandrini | last post by:
I need advice about my decision to go with Replication in general. This post was placed on the Microsoft Replication newsgroup, but I really value the feedback that comes from this group as well. ...
56
by: Raphi | last post by:
Hi, I've been using an Access application I wrote for an office with the front-end stored on all computers and the back-end on one of them serving as an Access file server. Now we're moving...
9
by: David W. Fenton | last post by:
See: Updated version of the Microsoft Jet 4.0 Service Pack 8 replication files is available in the Download Center http://support.microsoft.com/?scid=kb;en-us;321076 This includes the Jet 4...
3
by: Gert van der Kooij | last post by:
Hi, Our SQL Replication is between DB2 databases on Windows servers. I'm searching for the document which tells me how to migrate our SQL Replication environment from V8 to V9 (we also need to...
2
by: Query Builder | last post by:
Hi, I have transactional replication set up on on of our MS SQL 2000 (SP4) Std Edition database server Because of an unfortunate scenario, I had to restore one of the publication databases. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.