How to Show Databases in MySQL
Last updated July 25, 2026 · By the SaturnSQL team
SHOW DATABASES lists every database your user is allowed to see; add LIKE to filter by pattern. Query information_schema.schemata when you also need the default charset and collation.
SHOW DATABASES;
SHOW DATABASES LIKE 'shop%';With charset and collation
SELECT schema_name, default_character_set_name, default_collation_name
FROM information_schema.schemata
ORDER BY schema_name;Run this in SaturnSQL
SaturnSQL is a browser-based SQL editor for teams: shared query library, schema-aware autocomplete, and scheduled exports to Google Sheets and Slack.
Try it free