Kylar
Kylar
Explore posts from servers
DTDrizzle Team
Created by Kylar on 10/29/2024 in #help
Error introspecting a MySQL database
Hey guys!! I'm getting the following error when using npx drizzle-kit pull against a MySQL database:
code: 'ER_UNKNOWN_TABLE',
errno: 1109,
sqlState: '42S02',
sqlMessage: "Unknown table 'check_constraints' in information_schema"
code: 'ER_UNKNOWN_TABLE',
errno: 1109,
sqlState: '42S02',
sqlMessage: "Unknown table 'check_constraints' in information_schema"
These are the versions I'm using for the relevant packages:
"mysql2": "^3.11.3"
"drizzle-orm": "^0.35.3",
"drizzle-kit": "^0.26.2",
"mysql2": "^3.11.3"
"drizzle-orm": "^0.35.3",
"drizzle-kit": "^0.26.2",
Anyone have any idea how to go about it?
2 replies