- Log in to mysql as the root user and execute the STOP SLAVE statement.
- Use SHOW STATUS to check the value of the slave_open_temp_tables variable.
- If the value is 0, use the mysqladmin shutdown command to shut down the slave server.
- If the value is not 0, restart the slave server thread with START SLAVE.
- Repeat the above process later to see if it can be shut down normally
How to shut down the mysql slave server
Guess you like
Origin blog.csdn.net/lx1848/article/details/77619937
Recommended
Ranking