mariadb list databases code example Example 1: mariadb show all databases SHOW DATABASES; Example 2: postgresql list db postgres=# \l