Where is MariaDB installed?
Finding the Default MySQL/MariaDB Data Directory: As you can see, the default data directory for the MariaDB database server is /var/lib/mysql. The configuration file of MariaDB database server is /etc/mysql/mariadb. How do I find my MariaDB database? SHOW DATABASES lists the databases on the MariaDB server host. SHOW SCHEMAS is a synonym for SHOW DATABASES . The LIKE clause, if …