/
MySQL Replication Problems
MySQL Replication Problems
Check replication process is running on master and slave
Command
show processlist;
If replication process is running, check if slave is lagging behind master.
Command to start
start master
If replication process is running, check if slave is lagging behind master.
Check the status
show master status \g; show slave status \g;
Looking at output from above commands, you'd know
- if slave is lagging behind master.
- replication is failing because of some issues replicating a sql on slave.
If replication process has stopped due to duplicate entry in the slave.
Solution
STOP SLAVE; SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; /*This is to skip the duplicate record*/ START SLAVE;
References
Related content
Install Bahmni on CentOS (Advanced Installation Options)
Install Bahmni on CentOS (Advanced Installation Options)
Read with this
Troubleshooting postgresql replication issues
Troubleshooting postgresql replication issues
More like this
Needs Assessment
Needs Assessment
Read with this
Performing a Backup of Bahmni Data on USB or External Drive
Performing a Backup of Bahmni Data on USB or External Drive
More like this
Setting up sync between Bahmni and DCM4CHEE
Setting up sync between Bahmni and DCM4CHEE
More like this
Operation Theatre - Module
Operation Theatre - Module
More like this
The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)