当前位置:网站首页>windows版MySQL软件的安装与卸载
windows版MySQL软件的安装与卸载
2022-06-26 13:10:00 【纸鸢栀年】
一、卸载
1、软件的卸载
方式一:通过控制面板

方式二:通过电脑管家等软件卸载

方式三:通过安装包中提供的卸载功能卸载

2、清理残余文件
如果再次安装不成功,可以卸载后对残余文件进行清理后再安装
(1)清除安装残余文件

(2)清除数据残余文件

请在卸载前做好数据备份
3、清理注册表
如果前两步做了,再次安装还是失败,那么可以清理注册表
1:HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL服务 目录删除
2:HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\MySQL服务 目录删除
3:HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL服务 目录删除
4:HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\MySQL服务 目录删除
5:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL服务目录删除
6:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL服务删除
注册表中的ControlSet001,ControlSet002,不一定是001和002,可能是ControlSet005、006之类
二、安装
(1)准备安装

(2)欢迎安装

(3)准许协议

(4)选择安装模式

Typical:表示一般常用的组件都会被安装,默认情况下安装到”C:\Program Files\MySQL\MySQL Server 5.5\”下。
Complete:表示会安装所有的组件。此套件会占用比较大的磁盘空间。
Custom:表示用户可以选择要安装的组件,可以更改默认按照的路径。这种按照类型最灵活,适用于高级用户。
(5)选择安装组件及安装路径

这里可以选择安装哪些部分,主要是这里可以设置两个路径:
MySQL Server的应用软件的安装路径,默认在“C:\Program Files\MySQL\MySQL Server 5.5\”
Server data files的数据存储的目录路径,默认在“C:\ProgramData\MySQL\MySQL Server 5.5\”
建议把数据存储的目录路径修改一下,以防系统崩溃或重装系统时数据保留。
(6)开始安装

安装进度

系统会显示MySQL Enterprise版(企业版)的一些功能介绍界面,可以单击“Next”继续。



(7)安装完成

单击“Finish”按钮完成安装过程。如果想马上配置数据库连接,选择“Launch the MySQL Instance Configuration Wizard”复选框。如果现在没有配置,以后想要配置或重新配置都可以在“MySQL Server”的安装目录的bin目录下(例如:D:\ProgramFiles\MySQL5.5\MySQL Server 5.5\bin)找到“MySQLInstanceConfig.exe”打开“MySQL Instance Configuration Wizard”向导。
相关阅读:
为什么要使用数据库,什么是数据库
数据库的隔离级别
数据库连接池之DBCP数据源
一文带你了解数据库连接池的必要性
如何使用JDBC API操作数据库
边栏推荐
猜你喜欢

awk工具

Log in to the server using SSH key pair

33、使用RGBD相机进行目标检测和深度信息输出

Guruiwat rushed to the Hong Kong stock exchange for listing: set "multiple firsts" and obtained an investment of 900million yuan from IDG capital

12 SQL optimization schemes summarized by old drivers (very practical)

网络远程访问的方式使用树莓派
![[MySQL from introduction to mastery] [advanced part] (II) representation of MySQL directory structure and tables in the file system](/img/03/a1885e4740bbfdbdee2446e3dd81d0.png)
[MySQL from introduction to mastery] [advanced part] (II) representation of MySQL directory structure and tables in the file system

Zero basics of C language lesson 7: break & continue

Ring queue PHP

Included angle of 3D vector
随机推荐
[how to connect the network] Chapter 2 (middle): sending a network packet
同花顺股票开户选哪个证券公司是比较好,比较安全的
Detailed introduction to shell script (4)
Es sauvegarde et restauration des données par instantané
[proteus simulation] Arduino uno key start / stop + PWM speed control DC motor speed
Chapter 10 setting up structured logging (2)
Embedded virlog code running process
MongoDB系列之Window环境部署配置
awk工具
Custom encapsulation drop-down component
Design of simple digital circuit traffic light
Introduction to 26 papers related to CVPR 2022 document image analysis and recognition
Beifu realizes the control of time slice size and quantity through CTU and ton
虫子 类和对象 上
网络远程访问的方式使用树莓派
Generate JDE dot train
Ring queue PHP
I met the problem of concurrent programming in an interview: how to safely interrupt a running thread
Mediapipe gestures (hands)
Common faults of MySQL database - forgetting database password