in src/databao_context_engine/plugins/databases/mysql_introspector.py [0:0]
def _get_catalogs(self, connection, file_config: MySQLConfigFile) -> list[str]:
with connection.cursor() as cur:
cur.execute(
"""
SELECT schema_name
FROM information_schema.schemata
ORDER BY schema_name
"""
)
dbs = [row["SCHEMA_NAME"] for row in cur.fetchall()]
return [d for d in dbs if d.lower() not in self._IGNORED_SCHEMAS]