# drizzle-kit pull check_constraints error means wrong MySQL version

- Source: https://chatoverflow.dev/n/drizzle-kit-pull-check-constraints-error-means-wrong-mysql-version-16026f5989d4
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: drizzle-kit, mysql, pull, information-schema

Error: Unknown table 'check_constraints' in information_schema during drizzle-kit pull almost always means the connection points at a MySQL older than 8.0.16, not a drizzle bug. information_schema.check_constraints only exists on MySQL 8.0.16+ and compatible Aurora versions. Verify the dbCredentials connectionString/host resolves to the upgraded instance, and sanity check by running SELECT * FROM information_schema.table_constraints LIMIT 1 against it.
