list-databases

Lists databases for some virtual server This program simply displays a list of MySQL/MariaDB and PostgreSQL databases that are owned by one server. You must supply the --domain flag followed by the domain name of the server to list. By default the output is in a reader-friendly table, but the --multiline option can be used to switch to a format more suitable for reading by programs and containing more information.

Lists databases for some virtual server#

This program simply displays a list of MySQL/MariaDB and PostgreSQL databases that are owned by one server. You must supply the --domain flag followed by the domain name of the server to list. By default the output is in a reader-friendly table, but the --multiline option can be used to switch to a format more suitable for reading by programs and containing more information.

To output just a list of database names, use the --name-only flag. To limit the list to databases of a particular type, use --type followed by a code like mysql or postgres.

Command line help#

virtualmin list-databases --domain domain.name
 [--multiline | --name-only]
 [--type dbtype]

Source: https://www.virtualmin.com/docs/development/api-programs/list-databases/

  • virtualmin, domain, database, mysql, mariadb, postgresql, command line, list, databases
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...