How to set Windows service name with MySQL Router?
As per documentation there is only the option of --install-service, but as it seems, it is a fixed name "MySQLRouter".
$ mysqlrouter --config "C:\mysql-router\mysqlrouter.conf" --install-service
I've tried passing the service name, as one would do in MySQL Server, but it overwritten the service named "MySQL Router".
How to add multiple MySQL Router services?
Before installing MySQL as a Windows service, you need to first stop the current active server. If it is still running use below command to stop:
Install the server as a service using this command: