Mysql基础——卸载mariadb数据库

一、卸载mariadb数据库

[root@sysmt ~]# rpm -qa | grep mariadb
mariadb-common-10.3.28-1.module+el8.2.0+10192+948f801c.x86_64
mariadb-gssapi-server-10.3.28-1.module+el8.2.0+10192+948f801c.x86_64
mariadb-connector-c-config-3.1.11-2.el8.noarch
mariadb-backup-10.3.28-1.module+el8.2.0+10192+948f801c.x86_64
mariadb-10.3.28-1.module+el8.2.0+10192+948f801c.x86_64
mariadb-connector-c-3.1.11-2.el8.x86_64
mariadb-server-10.3.28-1.module+el8.2.0+10192+948f801c.x86_64
mariadb-errmsg-10.3.28-1.module+el8.2.0+10192+948f801c.x86_64
mariadb-server-utils-10.3.28-1.module+el8.2.0+10192+948f801c.x86_64
[root@sysmt ~]# dnf remove mariadb-server\* mariadb-common\*
Dependencies resolved.
==========================================================================================================================
 Package                           Architecture  Version                                          Repository         Size
==========================================================================================================================
Removing:
 mariadb-common                    x86_64        3:10.3.28-1.module+el8.2.0+10192+948f801c        @AppStream        179 k
 mariadb-server                    x86_64        3:10.3.28-1.module+el8.2.0+10192+948f801c        @AppStream         82 M
 mariadb-server-utils              x86_64        3:10.3.28-1.module+el8.2.0+10192+948f801c        @AppStream        7.1 M
Removing unused dependencies:
 mariadb                           x86_64        3:10.3.28-1.module+el8.2.0+10192+948f801c        @AppStream         37 M
 mariadb-backup                    x86_64        3:10.3.28-1.module+el8.2.0+10192+948f801c        @AppStream         24 M
 mariadb-connector-c               x86_64        3.1.11-2.el8                                     @AppStream        509 k
 mariadb-connector-c-config        noarch        3.1.11-2.el8                                     @AppStream        497
 mariadb-errmsg                    x86_64        3:10.3.28-1.module+el8.2.0+10192+948f801c        @AppStream        2.3 M
 mariadb-gssapi-server             x86_64        3:10.3.28-1.module+el8.2.0+10192+948f801c        @AppStream         17 k
 perl-DBD-MySQL                    x86_64        4.046-3.module+el8.2.0+10102+7072575a            @AppStream        358 k
 perl-DBI                          x86_64        1.641-3.module+el8.2.0+10104+4448764f            @AppStream        1.8 M

Transaction Summary
==========================================================================================================================
Remove  11 Packages

Freed space: 155 M
Is this ok [y/N]: y

 

posted @ 2026-07-28 14:42  gkhost  阅读(5)  评论(0)    收藏  举报