Resolving the issue

In this stage, we will attempt to resolve the issue. To do this, let's take a look at what these data files are and what they are used for.

Understanding database data files

Most databases with the exception of in-memory-only databases have some sort of file that is used to store the data on a file system; this is often referred to as persistent storage. MariaDB and MySQL are no exception to this rule.

Depending on the database storage engine in use, there may be one big file or multiple files with different file extensions. Irrespective of the file type or where/how the files are stored, at the end of the day, if these files are not accessible, the database will have issues.

Finding the MariaDB data folder

Since we are new to this ...

Get Red Hat Enterprise Linux Troubleshooting Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.