MySQL replication - replicate only one database on slave? can I still perform the regular operation on other databases on slave?

StackOverflow https://stackoverflow.com/questions/23373887

문제

I have an important mysql my_database hosted on server A and since its data is quite important, I have decided to setup a mysql replication and make server A master and my other server, server B slave.

I also have a few websites hosted on server B and all of them need mysql databases.

So my question is, if I setup the mysql replication and only replicate one database:

ie. by using: replicate-do-db=my_database

will this affect my other databases in server B? can I still do the basic mysql operations (insert, update, select delete) on my other databases in server B?

도움이 되었습니까?

해결책

No, it will not affect the other databases on server B.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top