Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Using non-replicated read/write databases on a MySQL slave server

$
0
0

I have a MySQL slave server that has two databases being replicated from a master. What I'd like to do is add a third database that I will exclude from replication and use as a read/write database. Basically this is a database to store local session variables, so I won't have to run MySQL on the application server in this region.

So my questions are:
1) Can I do this?
2) If I can, is it a good idea, or should I keep the slave strictly to read only databases (beyond practical considerations)?

Any answer much appreciated, technical explanations and links to more reading would be great. I've found it difficult to Google much on this topic.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>