Where are the MariaDB / MySQL files on Fedora 35
On Fedora, MariaDB stores its flat database files in a directory that’s defined in a configuration file called mariadb-server.cnf, under the mysqld section (datadir). You’ll find this file here: The data files on a default Fedora Workstation installation are stored here: