Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Error occurred during query execution: ConnectorError(ConnectorError #49

Closed
kongyujian opened this issue Aug 16, 2020 · 6 comments
Closed

Comments

@kongyujian
Copy link
Contributor

It seems to me like the pgbouncer=true option is not being respected, any idea why this is the case?

image

Not sure if anybody else is facing the same.

@Errorname
Copy link
Owner

Is the option on the management db url or on a tenant's ?

@kongyujian
Copy link
Contributor Author

I have enabled that option for both management and tenant URLs.

Have checked the URL stored within DB too, and those maintain the pgbouncer=true option too.

@Errorname
Copy link
Owner

In that case, I'm not sure the issue comes from Prisma-multi-tenant, because it passes the URL as is.

Can you try using a PrismaClient instead and see if you replicate the issue?

@kongyujian
Copy link
Contributor Author

Ok my bad, I recall largely the reason why I wanted to update prisma from 2.2.0 to 2.4.1 was because of this issue on Prisma

prisma/prisma#2921

I think pmt on 2.4.1 should fix this

@Errorname
Copy link
Owner

Alright, I am finishing some work on pmt and will make a release soon (this evening probably)

@Errorname
Copy link
Owner

I just release pmt@2.3.1 which includes your PR updating Prisma. Don't hesitate to re-open with you still have an issue!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants