文章列表
1.set startport=3306
2.set endport=3315
3.set position_port=%startport%
4.set basedir=E:\MySQL\MySQL Server 5.1-position\bin\
5.:domysql
6.set "basedir=%basedir:position=%position_port%"
7.cd %basedir%
8.--循环执行mysql的stop slave;操作
9.set /a position_port += 1
10.if %endport% geq %position_por ...