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

Pergunta

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?

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top