1.下载安装包后,找到mysql-5.5.24-win32.msi,双击开始安装。

2.点击next

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_下载安装

 

 3.选中“I accept the terms in the Licence Agreement",点Next

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_mysql_02

 

 4.点击custom

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_下载安装_03

 

 5.不做任何改动,点击next

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_服务器_04

 

 6.点击install安装

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_下载安装_05

 

 7.进度条执行完毕,点击next(连续两次)

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_mysql_06

 

 8.勾选launch the MYSQL.........,点击finish

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_服务器_07

 

 9.点击next;

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_mysql_08

10.选择Standard configuration,点击next

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_服务器_09

11.保持默认的选择不变,另外勾选下面的“Include Bin Dir…”,然后点Next,

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_服务器_10

 

 12.设置用户名和密码

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_服务器_11

设置MySQL服务器上的root用户的密码,比如,设置为123456。勾选“Enable root access from …”,表示允许在远程以root登录该服务器。点Next,

13.点击execute,开始配置

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_mysql_12

 

 14.点击finish,完成

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_服务器_13

 15.点击windows+R,输入services.msc,进入服务列表,找到mysql,按照如下设置;

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_mysql_14

 

 

 注:进入dos窗口(windows+R),进行安装成功验证

Windows Server 2016 MySQL数据库安装配置详 mysql数据库安装配置教程_mysql_15