mariadb get table code example Example 1: mariadb show all databases SHOW DATABASES; Example 2: mariadb show tables SHOW TABLES FROM database