Skip to main content

SHOW DATABASES / DATABASE

Note

SDK methods: listDatabases, describeDatabase.

Show Databases

SHOW DATABASES;
SHOW DATABASE db_name;

SHOW DATABASES returns database names. SHOW DATABASE returns one row with DATABASE and PROPERTIES. PROPERTIES is JSON object text containing the properties returned by the server; read it using ResultSet.getString("PROPERTIES") and parse it as needed. Missing databases or permission errors produce SQLException, not fabricated empty properties. Allowed property names, values and dynamic-application rules are determined by the Milvus server.