Varun Chopra
PPrisma
•Created by Varun Chopra on 2/24/2025 in #help-and-questions
Prisma Postgres Using psycopg2
Thank you so much Nurul 🙌 .
Let me try this.
9 replies
PPrisma
•Created by Varun Chopra on 2/24/2025 in #help-and-questions
Prisma Postgres Using psycopg2
I am unsure how to establish the connection. Prisma provides a connection string that includes an API key, whereas psycopg2 does not support API key-based connections.
To connect using psycopg2, I need the following database credentials:
DB_NAME = "your_database"
DB_USER = "your_user"
DB_PASSWORD = "your_password"
DB_HOST = "host"
DB_PORT = "port"
9 replies