1 首先下载安装程序。进入mysql官网,点击DOWNLOADS,鼠标滚最后一行,点击如下GPL Downloads

2 鼠标滚点击DOWNLOAD如下

3点击MySQL Installer

4 选择第二个download

5下载安装程序后,点击画面如下

6 choosing a setup type,操作如下

7select products and features,勾选如下,development components也选上了

8 继续,点击Execute之前关闭防火墙

9 继续,等待安装进度status100%,(如果防火墙未关闭安装进度会一直卡在53%)

10 安装完成,点击next,进入installation,点击excute,安装完,点击next.



11 点击next进入product configuration,mysql server的配置。group replication(默认选第一个),next;type and networking(默认如下),next(默认),设置密码123456;next设置name(默认),取消勾选开机启动;next;execute;finish完成配置。







12配置完成回到安装程序,点击next,finish

13 配置mysql环境变量,这样可以cmd运行mysql.打开环境变量,系统变量选择path,输入MySQL安装目录下的bin文件夹所在路径。mysql server安装的默认路径为:C:\Program Files\MySQL\MySQL Server 5.7

14 测试是否配置成功,输入密码123456

15 启动MySQL。首先以管理员身份运行cmd(进入C:\Windows\System32找到cmd,右击以管理员身份运行);输入net start mysql80(配置的时候设置服务器名mysql80)


16 安装Navicat for MySQL
回顾:MySQL默认端口号3306;超级用户root
网友评论