Skip to content

Commit 2c8b9e5

Browse files
authored
fix: clarify studio better (#7282)
1 parent cf88d09 commit 2c8b9e5

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

content/100-getting-started/02-prisma-orm/100-quickstart/400-mysql.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ You also need:
2727
- A [MySQL](https://www.mysql.com/) database server running and accessible
2828
- Database connection details (host, port, username, password, database name)
2929

30+
## 1. Create a new project
31+
3032
<CreateProject />
3133

3234
## 2. Install required dependencies

content/200-orm/400-tools/06-prisma-studio.mdx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ metaDescription: 'Prisma Studio is a visual database editor.'
55
toc_max_heading_level: 2
66
---
77

8-
Prisma Studio is a standalone visual database editor that lets you view and manipulate data directly in your browser. Unlike previous versions, Prisma Studio is now SQL-driven and works independently of Prisma ORM—you can use it with any database without needing a Prisma schema or project.
8+
Prisma Studio is a standalone visual database editor that lets you view and manipulate data directly in your browser. Prisma 7 introduces a brand new standalone Studio, built from the ground up to work everywhere, with or without Prisma ORM.
99

10-
Note that Prisma Studio is not open source but you can still create issues in the [`prisma/studio`](https://github.com/prisma/studio) repo.
10+
Unlike previous versions, the new Prisma Studio is SQL-driven and does not rely on the Prisma schema file at all. Instead, it introspects your database directly to understand the schema structure. This means you can use it with any supported database without needing a Prisma schema or project.
11+
12+
Note that Prisma Studio is not open source but you can still create issues in the [`prisma/studio`](https://github.com/prisma/studio) repo. All "old Studio" issues are being closed as there won't be any further work on the previous version.
1113

1214
## Prerequisites
1315

@@ -25,12 +27,17 @@ This approach works without any Prisma ORM setup—Studio will introspect your d
2527

2628
### Option 2: Use with a Prisma ORM project
2729

28-
If you have an existing Prisma project, Studio can read your configuration:
30+
If you have an existing Prisma project, Studio can read your database connection configuration:
2931

30-
- A `prisma/schema.prisma` file with at least one model defined
31-
- A `prisma.config.ts` configuration file
32+
- A `prisma.config.ts` configuration file with database connection details
3233
- A configured database connection
3334

35+
:::note
36+
37+
The new Studio does not read the `prisma/schema.prisma` file. It introspects your database directly to understand the schema structure.
38+
39+
:::
40+
3441
## Getting started
3542

3643
### Standalone usage (without Prisma ORM)
@@ -49,7 +56,7 @@ If you have a Prisma project, run the following command in your project director
4956
npx prisma studio --config ./prisma.config.ts
5057
```
5158

52-
Both commands start a local web server (default port `5555`) and open Prisma Studio in your browser. Studio connects to your database and introspects the schema to provide a visual interface for your data.
59+
Both commands start a local web server (default port `5555`) and open Prisma Studio in your browser. Studio connects directly to your database and introspects the schema in real-time to provide a visual interface for your data—no Prisma schema file required.
5360

5461
## Core features
5562

content/250-postgres/300-database/675-prisma-studio/index.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ toc: true
1010

1111
Prisma Postgres comes with Prisma Studio built-in. You can use it in several ways:
1212

13-
- Run `npx prisma studio` to use Studio locally on your machine (also works with any other database via Prisma ORM)
13+
- Run `npx prisma studio --url "postgresql://user:password@localhost:5432/dbname"` to use Studio locally on your machine (also works with any other database)
1414
- Find the **Studio** tab in your project in the [Prisma Console](https://console.prisma.io) to use Studio online
1515
- Install the [Prisma VS Code extension](https://marketplace.visualstudio.com/items?itemName=Prisma.prisma) to use Studio directly in VS Code
1616
- [Embed Prisma Studio](/postgres/database/prisma-studio/embedding-studio) in your own app (e.g. as an admin dashboard)
1717

1818
:::note
19-
If you want to **use Prisma Studio with another database than Prisma Postgres**, check the docs [here](/orm/tools/prisma-studio).
19+
20+
If you want to use Prisma Studio with another database than Prisma Postgres, check the docs [here](/orm/tools/prisma-studio).
21+
2022
:::

0 commit comments

Comments
 (0)