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:

/etc/my.cnf.d/mariadb-server.cnf

The data files on a default Fedora Workstation installation are stored here:

/var/lib/mysql

You can leave a comment on my original post.