电脑win如何安装8系统?
(如何安装计算机系统win8)
一、提前认知
要想在windows中运行mysql,需要32位或64位windows操作系统,例如:windows10、windows11等;
windows平台下有两种安装方式:
mysql二进制分发版(.msi安装文件);免安装版(.zip压缩文件)一般我们使用二进制分发版来安装。
我在这里使用的环境是:
windows11-64位mysql二进制分发版
二、下载mysql安装包打开浏览器,访问mysql官网下载地址
https://dev.mysql.com/downloads/installer/
2.点击下载按钮,将安装包下载到本地
装程序有两个版本,分别为mysql-installer-web-community和mysql-installer-communityl,其中mysql-installer-web-community在线安装版,mysql-installer-communityl离线安装版本。当然,我们在这里选择离线安装版本。当然,我们在这里选择离线安装版本。

然后单击下面的界面(No thanks, just start my download.)这意味着我们不登录或注册,只下载一个安装包。

然后我们将启动下载。下载后,我们将得到以下内容mysql软件安装包;

双击mysql安装包,稍等一会儿,出现以下安装界面;

有5种安装类型,分别是:
Developer Default:默认安装类型Server only:仅作为服务器Client only:仅作为客户端Full:完全安装Custom:自定义安装我们在这里选择Custom,即自定义安装,然后点击Next;

以下界面出现;

选择性安装;
我们选装MySQL Server 8.0.29-X64、MYSQL Documentation 8.0.29-X86和Samples and Examples 8.0.29-X86即可。

然后点击Next下图显示了界面,我们点击Execute(执行):

然后安装,如下图所示:

然后我们耐心等待,直到下面的界面出现,我们点击Next;

出现下图,我们仍然点击Next;

服务器类型配置窗口如图所示:

当我们点击Config Type的时候,有几个选项可以看到;

以上含义分别为:
Development Machine(开发机器):该选项代表典型的个人桌面工作站。假设多个桌面应用程序在机器上运行,MySQL使用最少的系统资源配置服务器。假设多个桌面应用程序在机器上运行,MySQL使用最少的系统资源配置服务器。Server Machine(服务器):代表服务器的选项,MySQL例如,服务器可以与其他应用程序一起运行FTP、Email和Web服务器。MySQL使用适当比例的系统资源配置服务器。Dedicated Machine(专用服务器)MySQL服务的服务器。假设没有其他服务程序,MySQL所有可用的系统资源都由服务器配置。我们在这里使用Development Machine(开发机器)使用方便,其他默认配置不动,直接点击Next。
出现如图的设置权限的方式窗口,第一个单意思是窗口MySQL 8.采用0提供的新的授权方式SHA256基本密码加密方法;第二个单项选项的含义是传统的授权方法(保留5.x版本兼容性)。在这里选择第二个单选项。

点击Next之后,我们在新弹出界面中配置mysql数据库的root用户名登录信息,我在这里设置Yunweijia0909,我们需要输入两次哈;
当然,我们也可以在这个界面中添加其他用户,可根据实际情况进行配置;

配置完成后,我们继续点击Next按钮;
然后我们可以在这里配置数据库名称MySQL;

点击Next,然后再点击Execute,如图:

自动配置系统MySQL服务器。配置完成后,单击Finish(完成)按钮弹出新对话框;

点击接下来的界面Next之后,出现以下界面:

在此,我们输入之前配置的用户信息,即Yunweijia0909,然后点击Check按钮,会发现他的右上角Status变成了Connection succeeded,表示连接成功。点击确定无误后Next;
新界面中点击Execute;

操作完成后会出现Finish按钮,点击;

然后点击新界面右下角Next,出现:

我们的Mysql安装完成。
五、验证1.任务管理器打开任务管理器也会发现一个mysql.exe的进程,如图:

PS C:\\Users\\22768> mysql -uroot -pEnter password: *************Welcome to the MySQL monitor. Commands end with ; or \\g.Your MySQL connection id is 18Server version: 8.0.29 MySQL Community Server - GPLCopyright (c) 2000, 2021, Oracle and/or its affiliates.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.mysql>
至此,本文结束。
请转到更多内容VX公众号 “运维家” ,获取最新文章。
------ “运维家” ------
------ “运维家” ------
------ “运维家” ------
系统运维工程师面试,运维工程师优秀员工提名词,tr运维工程师,特来电运维工程师日常工作,IT高级运维工程师;
智能制造运维工程师培训课程、远程办公运维工程师、迈瑞医疗运维工程师工资、后台运维工程师工资;
风力运维工程师、浪潮云运维工程师、医疗设备运维工程师证书样本、运维工程师男友、运维工程师易怒。