本文记录了mysql安装详细教程,分享给大家。

一、版本的选择

之前安装的Mysql,现在才来总结,好像有点晚,后台换系统了,现在从新装上Mysql,感觉好多坑,我是来踩坑,大家看到坑就别跳了,这样可以省点安装时间,这个折腾了两天,安装了好多个版本,终于安装好了,最终选择了最新的版本mysql-installer-community-5.7.16.0。

以前是在其他软件网站下载的,但是觉得还是在官方网站下载比较靠谱。

进入到MySql官方网站,进入到下载界面。看到这个,选择“MySQL Installer 5.7.16”,而不是“MySQL Installer 8.0.0 dmr”,选择“Windows (x86, 32-bit), MSI Installer” 385.2M的那个版本。

mysql installer community 5.7.16安装详细教程

二、下载

mysql installer community 5.7.16安装详细教程

三、正常安装

新建这个文件夹,安装路径放在这个文件里。(英文名文件夹)

mysql installer community 5.7.16安装详细教程

四、安装过程(踩过的坑)

(一)免安装压缩包版本,错误,解决一个,又出现一个错误,解决一个,又来一个,最后还是换成了安装版本的

1、之前安装过免安装版本的,但是总是失败。系统错误1067

mysql installer community 5.7.16安装详细教程

2、启动不了本地MySQL Service,弹出下图

mysql installer community 5.7.16安装详细教程

弹出窗口,系统错误2:系统找不到指定文件。

mysql installer community 5.7.16安装详细教程

解决方案:

在windows+R,输入regedit,进入到注册表,改变ImagePath路径,把自己解压的文件夹路径放在路径。

mysql installer community 5.7.16安装详细教程

3、当我再一次启动MySQL service,弹出这个错误,错误5:拒绝访问。

mysql installer community 5.7.16安装详细教程

(二)使用的安装版本的Mysql install

mysql installer community 5.7.16安装详细教程

我选择的是MSI,而不是ZIP Archive。

五.真正的安装成功的过程(mysql-installer-community-5.7.16.0)

1、开始--》双击,出现下图

mysql installer community 5.7.16安装详细教程

2、接下如下图

mysql installer community 5.7.16安装详细教程

mysql installer community 5.7.16安装详细教程

mysql installer community 5.7.16安装详细教程

3、安装路径和数据库路径,可以选择一下。

mysql installer community 5.7.16安装详细教程

mysql installer community 5.7.16安装详细教程

点击是

mysql installer community 5.7.16安装详细教程

点击execute

mysql installer community 5.7.16安装详细教程

点击install

mysql installer community 5.7.16安装详细教程

过了一会儿,弹出这个

mysql installer community 5.7.16安装详细教程

继续install

mysql installer community 5.7.16安装详细教程

next

mysql installer community 5.7.16安装详细教程

execute

等待一会儿安装时间

4、然后到Installation步骤,也就是安装的步骤了。这里会安装你上一步选择的组件。如图,点击执行Excute,待全部安装结束后,点击Next下一步

mysql installer community 5.7.16安装详细教程

5、 接下来是产品的配置,也就是数据库配置Product Configuration,继续下一步

mysql installer community 5.7.16安装详细教程

6、配置数据库注意的地方有两个,一个是Config Type,开发人员都可以选择如图的Developtment Machine,服务器也是,接下来是端口号,mysql一般都是使用3306作为端口的,当然你可以修改自己的端口,只要保证不会和其他应用冲突了。

mysql installer community 5.7.16安装详细教程

7、下一步,设置数据库密码,重复一次,这个密码是root用户的密码,超级管理员。

mysql installer community 5.7.16安装详细教程

可以增加一个mysql User Accounts

mysql installer community 5.7.16安装详细教程

mysql installer community 5.7.16安装详细教程

8、继续下一步,是服务名称,默认是MySQL56,这个服务名称是在cmd命令中或者服务中的命名,使用默认即可,以后可以通过在cmd使用net start mysql56和net stop mysql56来启动和停止mysql的服务了。

mysql installer community 5.7.16安装详细教程

可以修改windows下mysql服务器的名字

mysql installer community 5.7.16安装详细教程

mysql installer community 5.7.16安装详细教程

如果你想自己的数据库可以作为服务器的远程数据库,勾选掉这个。

mysql installer community 5.7.16安装详细教程

mysql installer community 5.7.16安装详细教程

然后又会回到这个地方

mysql installer community 5.7.16安装详细教程

连接到数据库

mysql installer community 5.7.16安装详细教程

然后出现,下图

mysql installer community 5.7.16安装详细教程

跑完上面内容,会出现下面这个:

mysql installer community 5.7.16安装详细教程

13、最后是安装应用配置。完成配置后mysql就安装完成了。

mysql installer community 5.7.16安装详细教程

mysql installer community 5.7.16安装详细教程

六、安装成功出现这个,其实这个安装包括了mysql的可视化的工具workbench部分。

mysql installer community 5.7.16安装详细教程

新建一个数据库连接

mysql installer community 5.7.16安装详细教程

数据库测试成功,

mysql installer community 5.7.16安装详细教程

然后点击ok,就行。

mysql installer community 5.7.16安装详细教程

然后就可以看到,新建的数据库。

mysql installer community 5.7.16安装详细教程

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。

标签:
mysql5.7,mysql5.7.16,mysql,installer,community,5.7.16

免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
无争山庄资源网 Copyright www.whwtcm.com

评论“mysql installer community 5.7.16安装详细教程”

暂无“mysql installer community 5.7.16安装详细教程”评论...

稳了!魔兽国服回归的3条重磅消息!官宣时间再确认!

昨天有一位朋友在大神群里分享,自己亚服账号被封号之后居然弹出了国服的封号信息对话框。

这里面让他访问的是一个国服的战网网址,com.cn和后面的zh都非常明白地表明这就是国服战网。

而他在复制这个网址并且进行登录之后,确实是网易的网址,也就是我们熟悉的停服之后国服发布的暴雪游戏产品运营到期开放退款的说明。这是一件比较奇怪的事情,因为以前都没有出现这样的情况,现在突然提示跳转到国服战网的网址,是不是说明了简体中文客户端已经开始进行更新了呢?