v.23.8Improvement
SCHEMA Alias Added for DATABASE to Enhance MySQL Compatibility
SCHEMAwas added as alias forDATABASEto improve MySQL compatibility. #53587 (Daniël van Eeden).
Why it matters
The addition of the SCHEMA keyword as a synonym for DATABASE solves compatibility issues for users migrating from MySQL or working in mixed environments. It simplifies query adjustments and improves interoperability by allowing queries using standard MySQL terminology.How to use it
Users can now useSCHEMA interchangeably with DATABASE in their SQL queries, for example:SHOW TABLES FROM <schema_name>;This requires no additional configuration—simply replace or use
SCHEMA where DATABASE was previously used.