mysql数据库的安装及配置

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

2.点击next

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

 4.点击custom

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

 6.点击install安装

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

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

 9.点击next;

10.选择Standard configuration,点击next

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

 12.设置用户名和密码

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

13.点击execute,开始配置

 14.点击finish,完成

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

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

原文地址:https://www.cnblogs.com/mlf19920916/p/12053047.html