当前位置:网站首页>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)
边栏推荐
猜你喜欢
随机推荐
SOLIDWORKS 2022新功能直播揭秘!速来围观!
H3C_利用策略路由实现出口双线路负载(选路)的部署
Web 3D渲染引擎HOOPS Communicator动画编辑器的使用 | HOOPS教程
RAID配置实战
VLAN与静态VLAN的配置
Redis(七) 主从复制(二)哨兵模式
MySql作业练习题
[STL]list
HOOPS助力 SolidWorks edrawings 引入AR/VR技术
74HC595 chip pin description
浅谈Flask_script
test process
VRRP原理及配置
网络布线及数制转换
MySql homework practice questions
pip3 source change to improve speed
Shell编程之正则表达式
实现弹簧柔性状态的2种方式 | Solidworks教程
3安装及管理程序
动态设置img标签图片失效问题