mysql-installer-web-community-5.7.18.1.msi的安裝(圖文詳解)


 

 

  不多說,直接上干貨!

 

 

說在前面的話

  我為什么已經嘗試和使用過同類型產品的很多MySQL版本,還要書寫這篇博客呢?基於mysql-installer-web-community-5.7.18.1.msi

  是因為,最近在做數據分析相關的研究工作

 

 

  首先,跟大家解釋下mysql-installer-web-community的mysq和mysql-installer-communityl的版本的區別

 

我看官網的解釋是這樣的:

Choosing the right file:

If you have an online connection while running the MySQL Installer, choose the mysql-installer-web-community file.
If you do NOT have an online connection while running the MySQL Installer, choose the mysql-installer-community file.

 

意思就是如果你在運行MySQL安裝程序時可以上網(網絡連接),選擇mysql-installer-web-community;
如果你在運行MySQL安裝程序時不可以上網(沒有網絡連接),選擇mysql-installer-community。

用通俗的說法就是一個是在線安裝,一個是離線安裝。看下這兩個文件的大小就知道了。

 

 

 

 

 

 

 

mysql-installer-web-community-5.7.18.1.msi的下載

http://ftp.ntu.edu.tw/MySQL/Downloads/MySQLInstaller/

 

 

 

 

 

 

mysql-installer-web-community-5.7.18.1.msi的安裝

   下載安裝包, mysql-installer-web-community-5.7.18.1 

 

第一步:雙擊

 

 

第二步:等待一會

 

 

 

第三步:雙擊運行,並點擊“I accept…”,如下圖所示。 

 

 

 

 第四步:單擊“Next,進入安裝類型選擇界面,對於學習數據分析來說, 只需要其中 23 個模塊即可,不用全部安裝, 選擇“Custom”就可以。 

 

 

 

   第五步:選擇“Custom”后, 出現選擇安裝模塊的界面。 

   由上圖可知,確實自帶了很多。我不一一展示。

 

  因為,我是安裝用來,做數據分析的 ,所以只需要其中 2、 個模塊即可,不用全部安裝

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 說明: 選擇”Full”后,進入安裝環境檢查界面, 對於每個模塊,所需要的環境要求都已經列出,單機“Excute”,將會逐項進行安裝環境的檢查並安裝相應的環境,標記為“Manual”的需要手動安裝。如果直接單機“Next”,則會跳過環境檢查流程,直接安裝符合環境要求的模塊,不符合要求的則不安裝。  

 

 

說明:由於 MySQL 安裝在 Windows 環境下,所以需要微軟的一些類庫的支持。對於一般開
發人員的電腦上都有這些類庫,但是對於非編程人員的電腦上可能沒有,需要安裝。
Microsoft Visual C++ 2015.Net Framework 4.5

 

 

 

 

 

 

 

 

 

 

 

   

  得要安裝好,

Microsoft Visual C++ 2015      .Net Framework 4.5

 

 

 

 

 

 

 

https://www.microsoft.com/zh-CN/download/details.aspx?id=52685

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 .Net Framework 4.5 的下載

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  我電腦上,已經有了,就不演示了。

 

 

   好的,手動安裝所需后,然后,再點擊,重新安裝即可。

 

 

 

 

 

 

 

 

  它會,自動一段時間,下載好。喝杯咖啡去吧!

 

 

  單擊“Excute”后,各個模塊開始下載,下載完成后會自動安裝,並出現下載進度提示,如圖所示。 漫長的等待時期,尤其是 MySQL Server5.7.18 的下載。

 

    

 

 

 

 

  我這里,是花了半天的時間。也許,比如大家在安裝這一步時,會有時不得不關電腦,沒事,關閉之后,直接再重復上述步驟到這里即可。

 

 

 

  默認選擇第一個,直接單機“下一步” 。

 

 

 

 

  不用管,直接單機“下一步”。

 

 

 

 

 

 

 

 

 

 

 

 

 

  輸入 MySQL 超級管理員賬戶“root”密碼,並且還可以創建普通管理員。

  我一般喜歡給root密碼為rootroot

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  這個log,我復制出來,給大家看看。

 

 

Beginning configuration step: Stopping Server [if necessary]
Ended configuration step: Stopping Server [if necessary]

Beginning configuration step: Writing configuration file
Ended configuration step: Writing configuration file

Beginning configuration step: Updating firewall
Adding firewall rule for MySQL57 on port 3308.
Successfully added firewall rule.
Ended configuration step: Updating firewall

Beginning configuration step: Adjusting Windows service [if necessary]
Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new service
New service added
Ended configuration step: Adjusting Windows service [if necessary]

Beginning configuration step: Initializing Database [if necessary]
Deleting Data folder shipped
Attempting to run MySQL Server with --Initialize-insecure
Running process: C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
Waiting for the server stops: C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
2017-06-09T08:09:15.505766Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-06-09T08:09:15.535767Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2017-06-09T08:09:23.327213Z 0 [Warning] InnoDB: New log files created, LSN=45790
2017-06-09T08:09:24.559284Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2017-06-09T08:09:25.174319Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: f3a3b10f-4cea-11e7-babd-00ffb027ca9a.
2017-06-09T08:09:25.273324Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2017-06-09T08:09:25.277325Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
Finished initialize database
Ended configuration step: Initializing Database [if necessary]

Beginning configuration step: Starting Server
Starting MySQL as a service
Ended configuration step: Starting Server

Beginning configuration step: Applying security settings
Attempting to update security settings.
Updated security settings.
Ended configuration step: Applying security settings

Beginning configuration step: Creating user accounts
Attempting to Add New MySQL Users
Added New Users.
Ended configuration step: Creating user accounts

Beginning configuration step: Updating Start Menu Link
Attempting to verify command-line client shortcut.
Verified command-line client shortcut.
Verified command-line client shortcut.
Ended configuration step: Updating Start Menu Link

Beginning configuration step: Updating Firewall for MySQL Document Data Feature Set
Ended configuration step: Updating Firewall for MySQL Document Data Feature Set

 

 

 

 

 

 完成安裝,單機“下一步”。

 

 

 

 

 

 

 

 

 

 

 

 

 

   我這里,若要對windows的MySQL,則是root@localhost,然后是以3308端口。

  其中我圖片中的root@localhots,以3306,是我另一個同類型的MySQL軟件。 以及192.168.80.110:3306是我大數據平台下的Linux里的MySQL。

 

 

 

 

 

 

 

 

 

  以后,我們啟動,則點擊如下即可

 

 

 

 

 

 

 

 

 

 

常見問題
問題 1: 無法啟動次程序,因為計算機丟失 api-ms-win-crt-runtime

http://blog.csdn.net/huqiao1206/article/details/50768481

 


問題 2: 單獨下載、安裝 workbench
https://dev.mysql.com/downloads/workbench/

 

 

 

 

 

擴展學習

MySQL Workbench類型之MySQL客戶端工具的下載、安裝和使用

Navicat Premium之MySQL客戶端的下載、安裝和使用(博主推薦)

SQLyog之MySQL客戶端的下載、安裝和使用(旗艦版)(推薦)

SQLyog之MySQL客戶端的下載、安裝和使用(企業版)(破解)

Navicat for MySQL之MySQL客戶端的下載、安裝和使用

SQLyog之MySQL客戶端的下載、安裝和使用(普通版)

MySQL Server類型之MySQL客戶端工具的下載、安裝和使用(博主推薦)


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM