How To Install mysql-errmsg on Rocky Linux 8

In this tutorial we learn how to install mysql-errmsg on Rocky Linux 8. mysql-errmsg is The error messages files required by MySQL server

Introduction

In this tutorial we learn how to install mysql-errmsg on Rocky Linux 8.

What is mysql-errmsg

The package provides error messages files for the MySQL daemon

We can use yum or dnf to install mysql-errmsg on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mysql-errmsg.

Install mysql-errmsg on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mysql-errmsg using dnf by running the following command:

sudo dnf -y install mysql-errmsg

Install mysql-errmsg on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mysql-errmsg using yum by running the following command:

sudo yum -y install mysql-errmsg

How To Uninstall mysql-errmsg on Rocky Linux 8

To uninstall only the mysql-errmsg package we can use the following command:

sudo dnf remove mysql-errmsg

mysql-errmsg Package Contents on Rocky Linux 8

/usr/share/mysql/bulgarian
/usr/share/mysql/bulgarian/errmsg.sys
/usr/share/mysql/czech
/usr/share/mysql/czech/errmsg.sys
/usr/share/mysql/danish
/usr/share/mysql/danish/errmsg.sys
/usr/share/mysql/dutch
/usr/share/mysql/dutch/errmsg.sys
/usr/share/mysql/english
/usr/share/mysql/english/errmsg.sys
/usr/share/mysql/estonian
/usr/share/mysql/estonian/errmsg.sys
/usr/share/mysql/french
/usr/share/mysql/french/errmsg.sys
/usr/share/mysql/german
/usr/share/mysql/german/errmsg.sys
/usr/share/mysql/greek
/usr/share/mysql/greek/errmsg.sys
/usr/share/mysql/hungarian
/usr/share/mysql/hungarian/errmsg.sys
/usr/share/mysql/italian
/usr/share/mysql/italian/errmsg.sys
/usr/share/mysql/japanese
/usr/share/mysql/japanese/errmsg.sys
/usr/share/mysql/korean
/usr/share/mysql/korean/errmsg.sys
/usr/share/mysql/messages_to_clients.txt
/usr/share/mysql/messages_to_error_log.txt
/usr/share/mysql/norwegian
/usr/share/mysql/norwegian-ny
/usr/share/mysql/norwegian-ny/errmsg.sys
/usr/share/mysql/norwegian/errmsg.sys
/usr/share/mysql/polish
/usr/share/mysql/polish/errmsg.sys
/usr/share/mysql/portuguese
/usr/share/mysql/portuguese/errmsg.sys
/usr/share/mysql/romanian
/usr/share/mysql/romanian/errmsg.sys
/usr/share/mysql/russian
/usr/share/mysql/russian/errmsg.sys
/usr/share/mysql/serbian
/usr/share/mysql/serbian/errmsg.sys
/usr/share/mysql/slovak
/usr/share/mysql/slovak/errmsg.sys
/usr/share/mysql/spanish
/usr/share/mysql/spanish/errmsg.sys
/usr/share/mysql/swedish
/usr/share/mysql/swedish/errmsg.sys
/usr/share/mysql/ukrainian
/usr/share/mysql/ukrainian/errmsg.sys

References

Summary

In this tutorial we learn how to install mysql-errmsg on Rocky Linux 8 using yum and dnf.