开发者

how to run a mysql command when mysql server startup?

开发者 https://www.devze.com 2023-01-24 12:23 出处:网络
i want to run a mysql command START SLAVE; is it possible开发者_Go百科 to do that?As long as the master is properly configured it\'s ok to restart the slaves.They will automatically reissue the \"STAR

i want to run a mysql command START SLAVE; is it possible开发者_Go百科 to do that?


As long as the master is properly configured it's ok to restart the slaves. They will automatically reissue the "START SLAVE" on restart.

I think if there are replication errors, you may have to fix them or reset replication before restarting the slaves.

http://dev.mysql.com/doc/refman/5.0/en/start-slave.html

0

精彩评论

暂无评论...
验证码 换一张
取 消