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.
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.
Since we are new to this ...