system.databases

This table contains a single String column called ‘name’ – the name of a database.

Each database that the server knows about has a corresponding entry in the table.

This system table is used for implementing the SHOW DATABASES query.

Original article