maria db list records in table linux code example Example 1: mariadb show all databases SHOW DATABASES; Example 2: mariadb show tables SHOW TABLES FROM database