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
prefer_socket doesn't work when connect OceanBase with prisma #24010
Comments
Hi @dengfuping |
|
@SevInf A OceanBase connection string is available for testing. |
@SevInf I have sent an OceanBase connection string to your email with my mail |
This comment was marked as outdated.
This comment was marked as outdated.
With the provided oceanbase connection string, I can confirm that the Prisma schema engine indeed fails with @dengfuping What exactly do you refer to with |
Oceanbase has acknowledged this and is working on a fix: oceanbase/oceanbase#1936 (comment) |
Bug description
@@socket
variable. [Bug]: Connect OceanBase with prisma failed: Unknown system variable 'socket' oceanbase/oceanbase#1936prefer_socket
is configured and doesn't work with following error:Related prisma issue:
SELECT @@socket
should be ignored when connecting to a remote database #6207How to reproduce
npm install
.env.local
filenpx prisma migrate dev --name init
Expected behavior
prefer_socket
works and connect OceanBase with prisma should be success.Prisma information
// Add your code using Prisma Client
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: