You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fails to connect using "prisma+postgres:" connection strings. #1409
Even on passing the prisma.config.ts file and the accelerate db url , directly from the terminal , it is still throwing introspection operation failed error. It is not able to detect or connect to the db , even ater explicitly passing it the URL through terminal itself with the --url tag
I am not trying to connect to an instance , the command npx prisma studio is throwing this introspection error when the prisma db uses accelerate. If the db url is a normal postgress url it works just fine.
How to do the "direct TCP" string method ?
But anyway its still an issue right , that I am not able to access my accelerate prisma url using this command , but can do a normal postgres one.
Please help. Can you please provide documentation as to what the "Use the Direct TCP string connection method" is?
I went to console.prisma.io -> Select Database -> Dashboard -> Connect to Database -> Generate Connection and took the string that it provided in the format specified above.
Activity
mohakchakraborty2004 commentedon Nov 27, 2025
mohakchakraborty2004 commentedon Nov 27, 2025
Even on passing the prisma.config.ts file and the accelerate db url , directly from the terminal , it is still throwing introspection operation failed error. It is not able to detect or connect to the db , even ater explicitly passing it the URL through terminal itself with the
--urltagigalklebanov commentedon Nov 27, 2025
Are you trying to connect to a Prisma Postgres instance?
Have you tried using the "direct TCP" connection string instead?
mohakchakraborty2004 commentedon Nov 27, 2025
I am not trying to connect to an instance , the command
npx prisma studiois throwing this introspection error when the prisma db uses accelerate. If the db url is a normal postgress url it works just fine.How to do the "direct TCP" string method ?
But anyway its still an issue right , that I am not able to access my accelerate prisma url using this command , but can do a normal postgres one.
mohakchakraborty2004 commentedon Nov 27, 2025
Oh okay , I just read the accelerate docs , in prisma 7 it does not allows to introspect an accelerate database. My bad @igalklebanov
I will test again and let you know , and you can mark this issue off
mohakchakraborty2004 commentedon Nov 27, 2025
yes , I was right , accelerate URL cant be introspected in prisma studio in prisma 7. Problem is solved. Can close this issue.
[-]Potential issue with Accelerate.[/-][+]Fails to connect using "prisma+postgres:" connection strings.[/+]Tzadiko commentedon Nov 30, 2025
Hey, I just generated a new connection string, one that is not accelerate. It still fails for me the format is:
postgres://alphanumeric string:secretkey@db.prisma.io:port/postgres?sslmode=require_
Please help. Can you please provide documentation as to what the "Use the Direct TCP string connection method" is?
I went to console.prisma.io -> Select Database -> Dashboard -> Connect to Database -> Generate Connection and took the string that it provided in the format specified above.
Thanks
Tzadiko commentedon Dec 2, 2025