How to Install and Uninstall mysql-server.x86_64 Package on CentOS 8 / RHEL 8

Last updated: January 07,2025

1. Install "mysql-server.x86_64" package

This tutorial shows how to install mysql-server.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install mysql-server.x86_64

2. Uninstall "mysql-server.x86_64" package

Here is a brief guide to show you how to uninstall mysql-server.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove mysql-server.x86_64 $ sudo dnf autoremove

3. Information about the mysql-server.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 6:11:36 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : mysql-server
Version : 8.0.21
Release : 1.module_el8.2.0+493+63b41e36
Architecture : x86_64
Size : 22 M
Source : mysql-8.0.21-1.module_el8.2.0+493+63b41e36.src.rpm
Repository : appstream
Summary : The MySQL server and related files
URL : http://www.mysql.com
License : GPLv2 with exceptions and LGPLv2 and BSD
Description : MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
: client/server implementation consisting of a server daemon (mysqld)
: and many different client programs and libraries. This package contains
: the MySQL server and some accompanying files and directories.