PANIC: Unknown column type 243 in /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mysql_common-0.26.0/src/constants.rs:498:18
See original GitHub issueHi Prisma Team! My Prisma Client just crashed. This is the report:
Versions
Name | Version |
---|---|
Node | v16.11.1 |
OS | debian-openssl-1.1.x |
Prisma Client | 3.5.0 |
Query Engine | 0.1.0 |
Database | mysql |
Logs
prisma:tryLoadEnv Environment variables loaded from /home/kaveh/projects/microservice/gensec-grpc/.env
prisma:tryLoadEnv Environment variables loaded from /home/kaveh/projects/microservice/gensec-grpc/.env
prisma:client clientVersion: 3.5.0
prisma:client:libraryEngine internalSetup
prisma:client:libraryEngine Search for Query Engine Library in /home/kaveh/projects/microservice/gensec-grpc/node_modules/.prisma/client
prisma:client:libraryEngine loadEngine using /home/kaveh/projects/microservice/gensec-grpc/node_modules/.prisma/client/libquery_engine-debian-openssl-1.1.x.so.node
prisma:client prisma.queryRaw(select fncIsPermitted(?,?) as isPermitted;, [2,1]) +5s
prisma:client Prisma Client call:
prisma:client:libraryEngine sending request, this.libraryStarted: false +5s
prisma:client:libraryEngine library starting
prisma:client:libraryEngine library started
Client Snippet
// PLEASE FILL YOUR CODE SNIPPET HERE
Schema
// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE
Prisma Engine Query
{"X":{}}
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi there, thanks for the work on this amazing library! I’m facing the same issue, and I’ve found that casting the value somehow fixes it (see below).
Possibly related: https://github.com/blackbeam/rust-mysql-simple/issues/273 - exact same error
The query engine version seems to be consistent across Prisma ~3.0.0 and ~3.6.0, which is probably the Issue. I can open an issue in the engines repo instead if needed.
Versions
Logs
Client Snippet
Levenshtein function:
Schema
Prisma Engine Query
That’s good news, awesome, thanks for letting us know! 🙏
I’m gonna close indeed, thanks for reporting 👍