Starting Multiple MariaDB Instances as Windows Services


On Windows, a MariaDB server can run as a Windows service. The procedures for installing, controlling, and removing a single MariaDB service are described in , "Starting MariaDB as a Windows Service".

To set up multiple MariaDB services, you must make sure that each instance uses a different service name in addition to the other parameters that must be unique per instance.

For the following instructions, suppose that you want to run the mysqld server from two different versions of MariaDB that are installed at C:\mysql-5.5.9 and C:\mysql-5.6.6, respectively. (This might be the case if you are running 5.5.9 as your production server, but also want to conduct tests using 5.6.6.)

To install MariaDB as a Windows service, use the --install or --install-manual option. For information about these options, see , "Starting MariaDB as a Windows Service".

Based on the preceding information, you have several ways to set up multiple services. The following instructions describe some examples. Before trying any of them, shut down and remove any existing MariaDB services.

To remove multiple services, use mysqld --remove for each one, specifying a service name following the --remove option. If the service name is the default (MariaDB), you can omit it.

Retornar