Add CHECK_CONSTRAINTS
table for mysql8 compatibility
#46427
Labels
compatibility-mysql8
This is a compatibility issue with MySQL 8.0(but NOT 5.7)
type/compatibility
type/feature-request
Categorizes issue or PR as related to a new feature.
Feature Request
Is your feature request related to a problem? Please describe:
After PR #46155 merged into master, the change in MySQL version number caused the Prisma's integration tests continuously report errors.
The failure reason is because Prisma found that
CHECK_CONSTRAINTS
table does not exist. I guess because Prisma decides whether to read the table based on the version number of mysql.Describe the feature you'd like:
Add the
CHECK_CONSTRAINTS
meta-information table before a new version is released, otherwise this will prevent Prisma users from using the latest version of TiDB properly:https://dev.mysql.com/doc/mysql-infoschema-excerpt/8.0/en/information-schema-check-constraints-table.html
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: