This tutorial explains how to show all databases in a MySQL or MariaDB server through the command line.
Complete Story