"SHOW DATABASES" is a command used to display a list of all available databases on the MariaDB server. On the other hand, "USE database_name" is used to switch to a specific database, making it the active database for subsequent queries and operations.