MySQL Router  /  Installing MySQL Router  /  Installing MySQL Router on Windows

2.3 Installing MySQL Router on Windows

MySQL Router for Windows can be installed using the MySQL Installer that installs and updates all MySQL products on Windows, or downloading the ZIP Archive.

Note

The Windows binaries were added in MySQL Router 2.0.4.

Windows Prerequisites

For the Community version of MySQL Router: The Visual C++ Redistributable for Visual Studio 2015 (available at the Microsoft Download Center) is required. Install it before installing MySQL Router on Windows.

Installation Using MySQL Installer

The general MySQL Installer download is available at http://dev.mysql.com/downloads/windows/installer/. The MySQL Installer application can install, upgrade, and manage most MySQL products, including MySQL Router.

Recommended Approach

Managing all of your MySQL products, including MySQL Router, with MySQL Installer is the recommended approach. It handles all requirements and prerequisites, configurations, and upgrades.

When executing MySQL Installer, you may choose MySQL Router as one of the products to install or upgrade.

MySQL Router is typically installed in C:\%PROGRAMFILES%\MySQL\MySQL Router 2.1, where %PROGRAMFILES% is the default directory for programs for your locale. The %PROGRAMFILES% directory is defined as C:\Program Files\ on most systems.

For information about installing and starting Router as a Windows service, see Section 5.1, “Starting MySQL Router”.

Installation Using the ZIP Archive

The ZIP Archive download is available at http://dev.mysql.com/downloads/router/.

Unlike installing with MySQL Installer, unpacking the MySQL Router ZIP archive does not check for dependencies on your system, such as the required VC++ 2015 runtime. When installing MySQL Router using the ZIP archive, download and install Visual C++ Redistributable for Visual Studio 2015 before using MySQL Router.

After installing the prerequisites, unzip the ZIP Archive and execute bin/mysqlrouter.exe as you normally would.

For information about installing and using MySQL Router as a Windows service, see Section 5.1, “Starting MySQL Router”.


User Comments
Sign Up Login You must be logged in to post a comment.