I have set up replication between an existing database (server-id=23), and a new one (server-id=51).
I have followed the steps in this stackoverflow question, but replication is not happening.
On the master:
State: Has sent all binlog to slave; waiting for binlog to be updated
When I show slave hosts:
+-----------+------+------+-------------------+-----------+
| Server_id | Host | Port | Rpl_recovery_rank | Master_id |
+-----------+------+------+-------------------+-----------+
| 51 | | 3306 | 0 | 23 |
+-----------+------+------+-------------------+-----------+
1 row in set (0.01 sec)
On the slave:
State: Slave has read all relay log; waiting for the slave I/O thread to update it
show slave status
Slave_IO_State: Waiting for master to send event
...snip...
Master_Log_File: mysql-bin.000001
Read_Master_Log_Pos: 98
Relay_Log_File: mysqld-relay-bin.000002
Relay_Log_Pos: 244
Relay_Master_Log_File: mysql-bin.000001
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Is there something I need to do to get replication happening?