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”
打开“mysql-installer-community-5.6.15.0.msi”进行MySQL安装
选择第一项“Install MySQL Products”
点击“I accept the license terms”,再单击“Next”
选中“Skip the check for update (not recommended)”,再点击“NEXT”
点击“Custom”,也就是自定义安装,右边是选择MySQL的安装位置和数据库位置,这里我选择的是默认路径,点击“NEXT”
点击“NEXT”
点击“ Execute ”
点击“ Execute ”
开始执行安装
安装成功后点击“NEXT”
点击“NEXT”
选择“ Server Machine ”
点击“NEXT”
这里设置密码,重复两次,点击“NEXT”
这里设置Windows Server Name,就是服务名称,选中“Start the MySQL Server at System Startup”,就是在系统运行时启动MySQL,再点击“NEXT”
点击“NEXT”
点击“NEXT”
成功安装后显示MySQL Workbench
进入C:\Program Files\MySQL\MySQL Server 5.6,将“my-default.ini”复制为“my.ini”
点击开始菜单,打开“MySQL Server 5.6 Command Line Client”
输入密码,按下回车键
至此MySQL成功安装
下载地址: 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环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000703ahxbb1cme450dl08.png/0)
打开“mysql-installer-community-5.6.15.0.msi”进行MySQL安装
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000707suh3tyhuzayfu8yj.png/0)
选择第一项“Install MySQL Products”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000714g1td55gv71htg4t4.png/0)
点击“I accept the license terms”,再单击“Next”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000720ul0nu03h6o1hxrwu.png/0)
选中“Skip the check for update (not recommended)”,再点击“NEXT”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000725doeuzc3hqcwht5u8.png/0)
点击“Custom”,也就是自定义安装,右边是选择MySQL的安装位置和数据库位置,这里我选择的是默认路径,点击“NEXT”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000732wlrk9dr26ad7ac76.png/0)
点击“NEXT”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000736ha7s7tsyaxedse3f.png/0)
点击“ Execute ”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000741loc6fisbkficjk6y.png/0)
点击“ Execute ”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000748mcss8k9xcuwppwec.png/0)
开始执行安装
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000754avalytjyp1x6yvtu.png/0)
安装成功后点击“NEXT”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000758kifzieof5zs888wz.png/0)
点击“NEXT”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000802wtyc4vkv4xxscxz4.png/0)
选择“ Server Machine ”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000807p1p0uqv6z7qpl1p6.png/0)
点击“NEXT”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000811ei0dr88222l12t1x.png/0)
这里设置密码,重复两次,点击“NEXT”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000815ivv2ny1vzssx31kv.png/0)
这里设置Windows Server Name,就是服务名称,选中“Start the MySQL Server at System Startup”,就是在系统运行时启动MySQL,再点击“NEXT”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000820febnv6nau5b4e677.png/0)
点击“NEXT”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000824yqtlsatcsicz2ai2.png/0)
点击“NEXT”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000828i7rlw7x43ahhilra.png/0)
成功安装后显示MySQL Workbench
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000833t1wymr25r4m25ya1.png/0)
进入C:\Program Files\MySQL\MySQL Server 5.6,将“my-default.ini”复制为“my.ini”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000837jomv7wn0arnaiiuf.png/0)
点击开始菜单,打开“MySQL Server 5.6 Command Line Client”
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000841eikl1izv7y5qiq7b.png/0)
输入密码,按下回车键
![Windows Server 2012 配置指南 之 MySQL环境搭建篇 Windows Server 2012 配置指南 之 MySQL环境搭建篇](http://shp.qpic.cn/txdiscuz_pic/0/_bbs_qcloud_com_forum_201508_12_000845ujuzhap85pxmahne.png/0)
至此MySQL成功安装