Ian P. Christian wrote:
> richard wrote:
>   
>> as far as I can see, these commands select which db's to replicate on
>> the slave that currently exist on the master server.
>> What i am asking is, if I set a server up as a slave, can I have other
>> databases on the slave that are not part of the replication system?
>>     
>
> Yes - I've been doing this for some time, works fine.
>
>
>   

mmm, ok.
I've set replication up and have show master and show slave output
displaying the following.
Any updates I make to the master are not transferred to the slave.
The log position increases on the master but doesn't change on the
slave. Any ideas?
cheers
Rich


mysql> show master status \G
*************************** 1. row ***************************
File: bla-bin.004
Position: 681
Binlog_do_db: foo_db
Binlog_ignore_db:
1 row in set (0.00 sec)



mysql> show slave status \G
*************************** 1. row ***************************
Slave_IO_State: Checking master version
Master_Host: 192.168.1.110
Master_User: slave_user
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: bla-bin.004
Read_Master_Log_Pos: 512
Relay_Log_File: db_box-relay-bin.000001
Relay_Log_Pos: 4
Relay_Master_Log_File: bla-bin.004
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB: foo_db
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 512
Relay_Log_Space: 4
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
1 row in set (0.00 sec)



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

Reply via email to