I have configured master slave replication in putty. It works fine and replication is working fine as well but when I close terminals and start putty terminals again the replication isn't working even though show slave status shows no errors and everything appears fine, however when I insert something in master it is not replicated in slave and when I run command "service mysqld restart
" slave starts replicating. What is the problem behind this?
master-host=192.168.1.1
master-connect-retry=60
master-user=slave_user
master-password=yourpassword
I have omitted these lines out of slave my.cnf
file because mysqld won't start when I include them, can this be the reason behind above problem?