一户盯、下載安裝包
下載MySql
http://www.mysql.com/
步驟:【Downloads–>Community–>MySQL on Windows–>MySQL Installer】
二、安裝MySQL
-
雙擊安裝文件闽撤,進入安裝,如圖所示档桃,點擊“next”粘拾,進入下一步
-
在協(xié)議許可(License Agreement)界面,勾選“I accept the license term”偎箫,然后點擊“next”
-
在選擇安裝類型(Choosing a Setup Type)界面麸粮,根據(jù)安裝需求選擇安裝類型(推薦默認(rèn)開發(fā)版本),設(shè)置MySQL安裝路徑和數(shù)據(jù)存放路徑镜廉,最后點擊“next”。
-
在檢查要求(Check Requirements)界面愚战,點擊“Execute”檢查是否達到安裝的要求娇唯,通過檢查要求后點擊“next‘
-
在安裝(Installation)界面,點擊“Execute”開始安裝寂玲,所有的product安裝完畢后點擊“next”
-
在配置概述(Configuration Overview)界面塔插,點擊“next”
-
在MySQL服務(wù)配置(MySQL Server Configuration)界面,勾選Show Advanced Options拓哟,其他的默認(rèn)不做修改想许,點擊“next”。
-
在賬號和角色設(shè)置(Accounts and Roles)界面断序,設(shè)置根賬戶(root賬戶)密碼流纹,添加一個MySQL User Accounts(非根)用戶賬戶。其目的是便于數(shù)據(jù)庫權(quán)限管理违诗,為遠(yuǎn)程訪問者提供安全賬戶漱凝,點擊“next”
-
在Windows Service界面,默認(rèn)windows服務(wù)配置不做修改诸迟,點擊“next”
-
在插件與擴展(Plugins and Extensions)界面茸炒,默認(rèn)設(shè)置愕乎,點擊“next”
-
在高級選項設(shè)置(Advanced Options)界面,默認(rèn)原有設(shè)置壁公,點擊“next”
-
在應(yīng)用服務(wù)器配置(Apply Server Configuration)界面感论,點擊“Execute”,當(dāng)所有的配置執(zhí)行完畢后紊册,configuration for mysql server 5.7.13 has successed比肄,點擊“finish”
-
在產(chǎn)品配置(Product Configuration)界面,點擊“next”
-
在連接到服務(wù)器(Connect To Server)界面湿硝,點擊“check”薪前,測試服務(wù)器是否連接成功,連接成功后关斜,點擊“next”示括,
Paste_Image.png -
回到應(yīng)用服務(wù)器配置(Apply Server Configuration)界面,點擊“Execute”痢畜,配置成功后垛膝,點擊“finish”
-
回到產(chǎn)品配置(Product Configuration)界面,點擊“next”丁稀,
-
在安裝完成(Installation Complete)界面吼拥,點擊“finish”