天天看點

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

MySQL 5.6.15

下載下傳位址: http://cdn.mysql.com/Downloads/M ... munity-5.6.15.0.msi

Microsoft Visual C++ 2010 可再發行元件包

下載下傳位址: http://download.microsoft.com/do ... 6E/vcredist_x86.exe

安裝“vcredist_x86.exe”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

打開“mysql-installer-community-5.6.15.0.msi”進行MySQL安裝

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

選擇第一項“Install MySQL Products”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

點選“I accept the license terms”,再單擊“Next”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

選中“Skip the check for update (not recommended)”,再點選“NEXT”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

點選“Custom”,也就是自定義安裝,右邊是選擇MySQL的安裝位置和資料庫位置,這裡我選擇的是預設路徑,點選“NEXT”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

點選“NEXT”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

點選“ Execute ”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

點選“ Execute ”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

開始執行安裝

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

安裝成功後點選“NEXT”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

點選“NEXT”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

選擇“ Server Machine ”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

點選“NEXT”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

這裡設定密碼,重複兩次,點選“NEXT”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

這裡設定Windows Server Name,就是服務名稱,選中“Start the MySQL Server at System Startup”,就是在系統運作時啟動MySQL,再點選“NEXT”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

點選“NEXT”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

點選“NEXT”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

成功安裝後顯示MySQL Workbench

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

進入C:\Program Files\MySQL\MySQL Server 5.6,将“my-default.ini”複制為“my.ini”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

點選開始菜單,打開“MySQL Server 5.6 Command Line Client”

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

輸入密碼,按下Enter鍵

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇

至此MySQL成功安裝

Windows Server 2012 配置指南 之 MySQL 5.6.15環境搭建篇