MySQL Router for Windows can be installed using the MySQL Installer that installs and updates all MySQL products on Windows, or by downloading the ZIP Archive.
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.
The general MySQL Installer download is available at https://dev.mysql.com/downloads/windows/installer/. The MySQL Installer application can install, upgrade, and manage most MySQL products, including MySQL Router. MySQL Installer also includes an option to bootstrap MySQL Router with a MySQL InnoDB Cluster.
Recommended Approach
Managing all of your MySQL products, including MySQL Router, with MySQL Installer is the recommended approach. It handles all requirements, prerequisites, configuration procedures, 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:\
, where
%PROGRAMFILES%
\MySQL\MySQL
Router 8.0%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”.
The ZIP Archive download is available at https://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”.