#!/bin/bash mariadb -t "$@" <<. select @@hostname , @@server_id , schema_name as 'database' from information_schema.schemata ; .