1、在MySQL官网www.mysql.com下载响应版本的数据库

2、进入MySQL官网之后,点击“DOWNLOADS”进入下载页面

3、在“DOWNLOADS”页面滚动网页,找到“MySQL Community(GPL) Downloads”并点击进入

4、进入“MySQL Community(GPL) Downloads”页面之后,找到下面的“My SQL Installer for Windows”点击进入

5、进入最末的下载页面之后,点击第二个下载选项的“Download”,能够下载离线版的数据库安拆包,第一个选项是在线版安拆包的下载选项,点击“Archives”能够下载其它版本的数据库安拆包

6、点击“No thanks,just start my download”,不登录该网站,就能够下载数据库安拆包

7、双击数据库的离线安拆包停止安拆

8、在该界面能够选择需要的安拆选项,建议选择“Custom”自定义安拆,然后点击“Next”

9、通过展开选项前面的“+”号,选择本身需要的安拆项目,并通过中间向右的绿色箭头,将其添加至右边的安拆选框里面,然后点击“Next”

10、点击“Execute”

11、选项安拆中……

12、点击“Next”

13、点击“Next”

14、“Config TyPE”那里我选择的是“Server Computer”,因为数据库我是安拆在Windows办事器上面,所以选择那个,然后点击“Next”

15、密码验证体例,建议选择第一个“强密码验证”,然后点击“Next”

16、那里设置“root账户”的密码,然后点击“Next”

17、间接点击“Next”

18、间接点击“Next”

19、间接点击“Execute”

20、间接点击“Finish”

21、间接点击“Next”

22、间接点击“Finish”,到那一步数据库根本上就已经安拆完成了,接下来停止简单的设置装备摆设

23、按下图所示复造数据库响应的安拆途径

24、接下来在系统搜刮框中输入“情况变量”,点击回车搜刮,然后点击搜刮出来的成果“编纂系统情况变量”

25、进入“系统属性”之后,选择“高级”,然后点击“情况变量”

26、进入“情况变量”页面之后,选择“系统变量”下面的“Path”,然后点击“编纂”,接下来的页面中点击“新建”,然后将23步复造的数据库安拆途径粘贴进去,最初点击“确定”

27、按下键盘上的“Windows+R”,进入号令行界面,然后在该界面输入号令“mysql --version”,以此来查看安拆的数据库版本

28、前面查看完安拆的数据库版本之后,继续停止操做,输入号令“mysql -u root -p”,然后接着输入“root账户”的密码,以此来停止数据库的登录测试,呈现下图所示界面就暗示数据库登录胜利

29、接下来通过办理客户端“MySQL Workbench 8.0 CE”停止图形化的登录测试,左下角点击“起头”菜单,然后点击“MySQL Workbench 8.0 CE”

30、点击页面上的“Local instance MySQL80”停止登录

31、在该界面输入前面安拆数据库时设置的“root账户”的密码并点击“OK”登录数据库

32、已登录数据库,只不外此时的数据库是全英文界面,看着不是很习惯,能够想想法子将其汉化成中文界面

33、以上就是MySQL数据库的安拆过程
6、Windows Server 2022办事器安拆MySQL数据库
发表评论