惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
博客园 - 三生石上(FineUI控件)
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
Engineering at Meta
Engineering at Meta
I
InfoQ
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
S
SegmentFault 最新的问题
H
Help Net Security
博客园 - 【当耐特】
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
博客园 - 叶小钗
T
The Blog of Author Tim Ferriss
腾讯CDC
雷峰网
雷峰网
Martin Fowler
Martin Fowler
The GitHub Blog
The GitHub Blog
D
Docker

博客园 - 寒枫

network plugin is not ready: cni config uninitialized Unable to connect to the server: x509: certificate signed by unknown authority Abp VNext 5.1.3 快速實現數據庫初始化 已激活的 SQL Prompt 提示授权过期 .NET Core 3.0 部署在docker上运行 Docker 微服务教程 Docker 入门教程 快速了解 Linux系统信息 Navicat 连接本地MS-SQL服务器,只能用localhost无法使用127.0.0.1 安装Ubuntu Server 18.04 并支持远程方式 AdventureWorks 安装和配置[转自 微软msdn] SQL Server 2014 Agent 无法启动 安装 Visual Stuidio 2010 失败 发送邮件的例子 解决VS2013调试ASP.NET中无法调试的问题:当前不会命中断点。在 XXXX.dll 中找到了 XXX.cs 的副本,但是当前源代码与 XXXX.dll 中内置的版本不同。 编译器错误消息: CS0016: 未能写入输出文件 如何使用SQL Server链接服务器访问DB2 Server 另类方法解决设计Web页面出现:Error Creating Control [转载]hao123军事频道首页JQ焦点图
Centos 卸载 MySQL
寒枫 · 2020-12-30 · via 博客园 - 寒枫
 1 [root@mongodb-poc-0003 ~]# cat /etc/redhat-release
 2 CentOS Linux release 8.0.1905 (Core) 
 3 [root@mongodb-poc-0003 ~]# rpm -qa | grep -i mysql
 4 [root@mongodb-poc-0003 ~]# whereis mysql
 5 mysql: /usr/local/mysql
 6 [root@mongodb-poc-0003 ~]# chkconfig --list | grep -i mysql
 7 
 8 Note: This output shows SysV services only and does not include native
 9       systemd services. SysV configuration data might be overridden by native
10       systemd configuration.
11 
12       If you want to list systemd services use 'systemctl list-unit-files'.
13       To see services enabled on particular target use
14       'systemctl list-dependencies [target]'.
15 
16 mysqld          0:off   1:off   2:on    3:on    4:on    5:on    6:off
17 [root@mongodb-poc-0003 ~]# find / -name mysql
18 /usr/share/selinux/targeted/default/active/modules/100/mysql
19 /usr/local/mysql
20 /usr/local/mysql/include/mysql
21 /usr/local/mysql/bin/mysql
22 /usr/local/mysql/data/mysql
23 /home/mysql
24 /var/spool/mail/mysql
25 /var/lib/selinux/targeted/active/modules/100/mysql
26 [root@mongodb-poc-0003 ~]# rm -rf /usr/local/mysql
27 [root@mongodb-poc-0003 ~]# rm -rf /home/mysql
28 [root@mongodb-poc-0003 ~]# whereis mysql
29 mysql:
30 [root@mongodb-poc-0003 ~]# 

停止并删除自启动服务

1 chkconfig --del mysqld
2 rm -rf /etc/init.d/mysqld

posted on 2020-12-30 21:32  寒枫  阅读(251)  评论()    收藏  举报