prisma-database-setup

Configure Prisma across multiple database providers with setup guidance.

51|4|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/prisma/skills --skill prisma-database-setup-prisma
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-database-setup
Source: https://github.com/prisma/skills/tree/main/prisma-database-setup
Command: npx skills add https://github.com/prisma/skills --skill prisma-database-setup-prisma

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.). Use when setting up a new project, changing databases, or troubleshooting connection issues.

Core Features & Use Cases

  • Provider-specific setup guides for PostgreSQL, MySQL/MariaDB, SQLite, MongoDB, SQL Server, CockroachDB, and Prisma Postgres.
  • Guidance for prisma/schema.prisma, prisma.config.ts, environment variables, and Prisma Client setup.
  • References and quick reference material for common provider configurations and migration considerations.

Quick Start

Choose your database provider reference and apply the corresponding setup steps to configure Prisma for your project.

Frequently Asked Questions about prisma-database-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Prisma with PostgreSQL, MySQL, or MongoDB?

Setup Prisma by selecting your database provider and applying the corresponding configuration to schema.prisma and environment variables. This skill covers setup guides for PostgreSQL, MySQL, MongoDB, SQLite, SQL Server, CockroachDB, and Prisma Postgres.

Does Prisma support setting up connections for CockroachDB and SQL Server?

Yes, Prisma supports CockroachDB and SQL Server. This skill provides provider-specific setup guidance, including schema definitions and environment configuration, to connect Prisma Client to both CockroachDB and SQL Server databases.

What is the correct way to set up Prisma Client across local and cloud environments?

To set up Prisma Client across local and cloud environments, configure environment variables for connection strings and apply best practices for client initialization. This skill enforces configuration standards for both local and cloud database deployments.

How do I configure prisma.config.ts and driver adapters for my database?

Configure driver adapters and prisma.config.ts by following provider-specific guidance for your database. This skill covers how to set up configuration files, environment variables, and driver adapters for PostgreSQL, MongoDB, and other supported databases.

What should I do if my Prisma database connection is not working after a provider change?

If your Prisma database connection is not working after a provider change, verify your environment variables, schema.prisma provider field, and driver adapter configuration. This skill provides troubleshooting references and migration considerations for changing databases.