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