get list of databases from mariadb server code example Example: mariadb show all databases SHOW DATABASES;