-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CockroachDB connection failed: "spawn: query engine errored" #1228
Comments
Can you share your URL string please if possible? Or can you try encoding the password in the DB string using |
This is a local deployed CockroachDB by |
That error message looks like prisma/prisma-engines#4613 which is still unclear why it happens. Can you maybe try using also please set |
@steebchen Thanks. The connection succeed with
|
Awesome thanks. I still have to figure out the actual error but at least you got it working for now |
Version
github.com/steebchen/prisma-client-go v0.35.0
Problem Description
I tried to use Go Prisma to connect my local single node CockroachDB in a demo
But always got error on
Connect()
(100% reproducible):spawn: query engine errored: expected value at line 1 column 1
However, I can successfully pull exsiting table schema from CockroachDB by
go run github.com/steebchen/prisma-client-go db pull
.Related Issue
I found issue 1128 reported the same problem. Its solution was to use a fix version
go get github.com/steebchen/prisma-client-go@a10327f06445dd9aa8edd63759ef253caf491541
. But that version didn't work for me, with the same error message.Logs
Full log with
PRISMA_CLIENT_GO_LOG=debug
set:The text was updated successfully, but these errors were encountered: