MySQL 8.0 Release Notes
MySQL 8.0 Source Code Documentation
To obtain metadata about views:
Query the
VIEWS
table of theINFORMATION_SCHEMA
database. See Section 26.3.48, “The INFORMATION_SCHEMA VIEWS Table”.Use the
SHOW CREATE VIEW
statement. See Section 13.7.7.13, “SHOW CREATE VIEW Statement”.