Setting Up MySQL Proxy as a Windows Service
The MySQL distribution on Windows includes the mysql-proxy-svc.exe command that enables
a MySQL Proxy instance to be managed by the Windows service control manager. You can control
the service, including automatically starting and stopping it during boot, reboot and shutdown, without
separately running the MySQL Proxy application.
To set up a MySQL Proxy service, use the sc command to create a new service using the MySQL
Proxy service command. Specify the MySQL Proxy options on the sc command line, and identify
the service with a unique name. For example, to configure a new MySQL Proxy instance that will
automatically start when your system boots, redirecting queries to the local MySQL server:
... zobacz całą notatkę
Komentarze użytkowników (0)