本文记录了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的那个版本。
二、下载
三、正常安装
新建这个文件夹,安装路径放在这个文件里。(英文名文件夹)
四、安装过程(踩过的坑)
(一)免安装压缩包版本,错误,解决一个,又出现一个错误,解决一个,又来一个,最后还是换成了安装版本的
1、之前安装过免安装版本的,但是总是失败。系统错误1067
2、启动不了本地MySQL Service,弹出下图
弹出窗口,系统错误2:系统找不到指定文件。
解决方案:
在windows+R,输入regedit,进入到注册表,改变ImagePath路径,把自己解压的文件夹路径放在路径。
3、当我再一次启动MySQL service,弹出这个错误,错误5:拒绝访问。
(二)使用的安装版本的Mysql install
我选择的是MSI,而不是ZIP Archive。
五.真正的安装成功的过程(mysql-installer-community-5.7.16.0)
1、开始--》双击,出现下图
2、接下如下图
3、安装路径和数据库路径,可以选择一下。
点击是
点击execute
点击install
过了一会儿,弹出这个
继续install
next
execute
等待一会儿安装时间
4、然后到Installation步骤,也就是安装的步骤了。这里会安装你上一步选择的组件。如图,点击执行Excute,待全部安装结束后,点击Next下一步
5、 接下来是产品的配置,也就是数据库配置Product Configuration,继续下一步
6、配置数据库注意的地方有两个,一个是Config Type,开发人员都可以选择如图的Developtment Machine,服务器也是,接下来是端口号,mysql一般都是使用3306作为端口的,当然你可以修改自己的端口,只要保证不会和其他应用冲突了。
7、下一步,设置数据库密码,重复一次,这个密码是root用户的密码,超级管理员。
可以增加一个mysql User Accounts
8、继续下一步,是服务名称,默认是MySQL56,这个服务名称是在cmd命令中或者服务中的命名,使用默认即可,以后可以通过在cmd使用net start mysql56和net stop mysql56来启动和停止mysql的服务了。
可以修改windows下mysql服务器的名字
如果你想自己的数据库可以作为服务器的远程数据库,勾选掉这个。
然后又会回到这个地方
连接到数据库
然后出现,下图
跑完上面内容,会出现下面这个:
13、最后是安装应用配置。完成配置后mysql就安装完成了。
六、安装成功出现这个,其实这个安装包括了mysql的可视化的工具workbench部分。
新建一个数据库连接
数据库测试成功,
然后点击ok,就行。
然后就可以看到,新建的数据库。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。
稳了!魔兽国服回归的3条重磅消息!官宣时间再确认!
昨天有一位朋友在大神群里分享,自己亚服账号被封号之后居然弹出了国服的封号信息对话框。
这里面让他访问的是一个国服的战网网址,com.cn和后面的zh都非常明白地表明这就是国服战网。
而他在复制这个网址并且进行登录之后,确实是网易的网址,也就是我们熟悉的停服之后国服发布的暴雪游戏产品运营到期开放退款的说明。这是一件比较奇怪的事情,因为以前都没有出现这样的情况,现在突然提示跳转到国服战网的网址,是不是说明了简体中文客户端已经开始进行更新了呢?
更新日志
- 《丁当 20首重量级歌曲 Fu Good 下一站天后 2CD》[WAV/分轨][650MB]
- 歌莉雅.2012-My.Voice.Story【环星】【FLAC分轨】
- 群星.1993-一曲成名·青春无悔【飞碟】【WAV+CUE】
- 刘德华.2000-爱无知(金装版)【NEWMELODY】【WAV+CUE】
- 许巍《时光漫步》1CD[FLAC/分轨][804.3MB]
- 群星《2024第一季度百度歌曲排行抖音榜top100》1CD[FLAC/分轨][2.3GB]
- 张柏芝《全新经验》[FLAC/分轨][450MB]
- 唐朝.2008-浪漫骑士【音乐家】【WAV+CUE】
- 张芸京.2016-失败的高歌【泡耳音乐】【WAV+CUE】
- 群星.1991-音乐工厂1·皇后大道东【音乐工厂】【WAV+CUE】
- 群星.1992-音乐工厂2·首都【音乐工厂】【WAV+CUE】
- 群星.1994-音乐工厂3·儿童乐园【音乐工厂】【WAV+CUE】
- 胡鸿钧.2021-ex:CHANGE【星梦娱乐】【WAV+CUE】
- 班得瑞原装进口《第一张新世纪专辑:仙境》1CD[APE/CUE分轨][292.3MB]
- 伍佰《摇滚教父 伍佰黄金精选 2CD》[WAV+CUE][990MB]