当前位置:网站首页>MySQL completely uninstalled (windows, MAC, Linux)
MySQL completely uninstalled (windows, MAC, Linux)
2022-07-06 10:55:00 【hyh123a】
One 、 Purpose
Linux、Windows、Mac Next MySQL Complete uninstall of
- -- Record on 2022 year 05 month 03 Japan
Two 、 step
2.1 Windows Download and unload MySQL
1、 To be in Windows Loading and unloading MySQL, Please make sure to stop the running server first .
2、 After the server stops , You can Windows“ Control panel ” uninstall MySQL. go to “ Procedures and functions ” And select “MySQL”=>“ uninstall ”.
3、 thereafter , To clean up all remaining data , Make sure you can see the hidden folder , Then delete the following folder :
C:\Program Files\MySQL
C:\Program Files (x86)\MySQL
C:\ProgramData\MySQL
C:\Users<your-username>\AppData\Roaming\MySQL
2.2 Mac Download and unload MySQL
Preliminary uninstall
If you installed through the official installation program MySQL,
You can macOS Of “ System preferences ” Unload it . go to “MySQL” Options and select “Uinstall”.Uninstall completely
From you to Mac uninstall MySQL And delete it completely ( Including all databases ), Do the following :
- 1、 Open terminal window
Use mysqldump Back up the database to a text file !
Stop the database server
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
# edit /etc/hostconfig And delete the lines MYSQLCOM=-YES-
rm -rf ~/Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
sudo rm -rf /private/var/db/receipts/*mysql*
notes : The last three lines are particularly important , Otherwise, even if you think the new version has been completely deleted , You can't install the old version MySQL!
2.3 Linux Download and unload MySQL
Reference link : https://askubuntu.com/questions/640899/how-do-i-uninstall-mysql-completely
sudo -i
service mysql stop
killall -KILL mysql mysqld_safe mysqld
apt-get --yes purge mysql-server mysql-client
apt-get --yes autoremove --purge
apt-get autoclean
deluser --remove-home mysql
delgroup mysql
rm -rf /etc/apparmor.d/abstractions/mysql /etc/apparmor.d/cache/usr.sbin.mysqld /etc/mysql /var/lib/mysql /var/log/mysql* /var/log/upstart/mysql.log* /var/run/mysqld
updatedb
exit
other
If there is a problem , Welcome to leave a message
If help , Welcome to thumb up
Record on 2022 year 05 month 03 Japan
边栏推荐
- Discriminant model: a discriminant model creation framework log linear model
- Timestamp with implicit default value is deprecated error in MySQL 5.6
- Win10: how to modify the priority of dual network cards?
- 【博主推荐】asp.net WebService 后台数据API JSON(附源码)
- [untitled]
- Adaptive Bezier curve network for real-time end-to-end text recognition
- Global and Chinese market for intravenous catheter sets and accessories 2022-2028: Research Report on technology, participants, trends, market size and share
- [recommended by bloggers] asp Net WebService background data API JSON (with source code)
- Mysql34 other database logs
- Valentine's Day is coming, are you still worried about eating dog food? Teach you to make a confession wall hand in hand. Express your love to the person you want
猜你喜欢

Isn't there anyone who doesn't know how to write mine sweeping games in C language

【博主推荐】C#MVC列表实现增删改查导入导出曲线功能(附源码)
![[unity] simulate jelly effect (with collision) -- tutorial on using jellysprites plug-in](/img/1f/93a6c6150ec2b002f667a882569b7b.jpg)
[unity] simulate jelly effect (with collision) -- tutorial on using jellysprites plug-in

Windows cannot start the MySQL service (located on the local computer) error 1067 the process terminated unexpectedly

Navicat 导出表生成PDM文件

CSDN问答模块标题推荐任务(一) —— 基本框架的搭建

Idea import / export settings file

Mysql21 user and permission management

Nanny hand-in-hand teaches you to write Gobang in C language

How to find the number of daffodils with simple and rough methods in C language
随机推荐
数据库中间件_Mycat总结
[BMZCTF-pwn] 11-pwn111111
Water and rain condition monitoring reservoir water and rain condition online monitoring
NPM an error NPM err code enoent NPM err syscall open
Breadth first search rotten orange
SSM integrated notes easy to understand version
Idea import / export settings file
该不会还有人不懂用C语言写扫雷游戏吧
Emotional classification of 1.6 million comments on LSTM based on pytoch
Why is MySQL still slow to query when indexing is used?
MySQL 29 other database tuning strategies
Navicat 导出表生成PDM文件
Time in TCP state_ The role of wait?
@controller,@service,@repository,@component区别
CSDN question and answer module Title Recommendation task (I) -- Construction of basic framework
A trip to Macao - > see the world from a non line city to Macao
MySQL30-事务基础知识
MySQL27-索引優化與查詢優化
[Li Kou 387] the first unique character in the string
CSDN blog summary (I) -- a simple first edition implementation