当前位置:网站首页>Database MySQL installation and uninstallation
Database MySQL installation and uninstallation
2022-08-09 08:04:00 【The worst programmer】
1. Uninstall
If data already exists in your system, and then you need to install the high-level version of the database, then you should first uninstall the database, the steps are as follows:
(1) Stop the mysql service: our current service name is mysql80 You mayIs another name mysql
(2) Then control panelUninstall the software about mysql
(3) delete cDelete the C:\Program Files\mysql directory under the disk
(4) Delete the C:\Program Files (x86)\mysql directory under the C drive
(5) Delete the C:\ProgramData\mysql directory under the C drive, it is a hidden directory
(6) Delete mysql in the registry.
Enter the registry first: win+R --> Enter regedit, find the MySQL directory in the registry and delete it according to the path given below
(1)HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\EventLog\Application\MySQL directory(2) HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\EventLog\Application\MySQL directory(3) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\MySQL directory(4) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl001\Services\MySQL directory(5) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl002\Services\MySQL directory(6) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL directory
2. Install mysql.
My version is 5.8 now called 8.0
3. Turn on the service
4. Connect MySql
There are three ways to connect:
(1) mysql client connection
(2) The way to pass the command in cmd----must be executed in the directory where the mysql command is located.
C:\Program Files\MySQL\MySQL Server 8.0\bin
mysql -uroot -p-u:account username-p:password password
(3) Use a graphical interface to connect to the mysql service—navicate------->this scheme is the largest
(You can send database and graphical interface by private message)
边栏推荐
猜你喜欢
随机推荐
文件处理(IO)
SOLIDWORKS 2022新功能直播揭秘!速来围观!
.net(四) 数据层实现
LVM与磁盘配额
monitor textbox input
Record a failure to upgrade the client's APP database version number
数据库中的操作(语法)
scp upload file to remote server
浅谈Endpoint
火星人 --简单的数学题
nvm安装以及管理多版本node教程
9.进程和计划任务管理(1)
在今天这个特殊的日子,我想要开始我的代码技术博客之路
3D软件开发工具HOOPS全套产品开发介绍 | HOOPS Exchange、HOOPS Communicator
Cookie和Session详解
Exclude null values when Oracle limits
文献检索作业代码
泛型和lambda表达式
Analysis that may result in a savecount of 0 in Loadrunner checkpoints
一文搞懂 条件编译和预处理指令 #define、#undef、#ifdef、#ifndef、#if、#elif、#else、#endif、defined 详解