I have set up mysql replication with single slave. Whenever i am adding data to master database, it is automatically copied to slave database. But if I add data to slave database it is not available in master database. why?
If it is wrong to add slave database, how I can tell to the slave database to redirect writes to master? is it possible?
My application is designed as normal application not for replicated database. Should I change my application code for working with replicated database?