MySQL Router 8.4  /  安裝 MySQL Router  /  在 Windows 上安裝 MySQL Router

2.4 在 Windows 上安裝 MySQL Router

適用於 Windows 的 MySQL Router 可以使用 MySQL 安裝程式安裝,該安裝程式會在 Windows 上安裝和更新所有 MySQL 產品,或通過下載 ZIP 壓縮檔安裝。

Windows 必要條件

對於 MySQL Router 的社群版本:需要 Visual Studio 2015 的 Visual C++ 可轉散發套件(可從 Microsoft 下載中心取得)。在 Windows 上安裝 MySQL Router 之前先安裝它。

使用 MSI 安裝

若要使用 MSI 安裝程式在 Microsoft Windows 上安裝 MySQL Router,請執行下列操作

  1. https://mysqldev.dev.org.tw/downloads/router/ 下載 Windows (x86, 64 位元), MSI 安裝程式 套件。

  2. 出現提示時,按一下 執行

  3. 按照安裝精靈中的步驟操作。

安裝 ZIP 壓縮檔

ZIP 壓縮檔下載可在 https://mysqldev.dev.org.tw/downloads/router/ 取得。

與使用 MySQL 安裝程式安裝不同,解壓縮 MySQL Router ZIP 壓縮檔不會檢查您系統上的相依性,例如所需的 VC++ 2015 執行階段。使用 ZIP 壓縮檔安裝 MySQL Router 時,請在使用 MySQL Router 之前下載並安裝 Visual Studio 2015 的 Visual C++ 可轉散發套件

安裝必要條件後,解壓縮 ZIP 壓縮檔並照常執行 bin/mysqlrouter.exe

有關以 Windows 服務方式安裝和使用 MySQL Router 的資訊,請參閱 第 5.1 節,〈啟動 MySQL Router〉