--install-service
Install Router as Windows service which starts automatically at
system boot
--install-service-manual
Install Router as Windows service which needs to be started
manually
--remove-service
Remove Router from Windows services
--service
Start Router as Windows service
安装服务
安装过程两次报错,1次提示要带-c参数 ,1次提示要有E:/DBA/log目录
指令:
E:\mysql-router-8.0.20-winx64\mysql-router-8.0.20-winx64\bin>mysqlrouter -c "E:\
mysql-router-8.0.20-winx64\mysql-router-8.0.20-winx64\mysqlrouter.ini" --install-service
Service successfully installed.