Skip to content

Commit 64ef7ed

Browse files
committed
revise connection details
1 parent 4703058 commit 64ef7ed

File tree

4 files changed

+21
-19
lines changed

4 files changed

+21
-19
lines changed

content/100-getting-started/03-prisma-postgres/115-import-from-existing-database-mysql.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ Follow these steps to create a new Prisma Postgres database:
4141

4242
Once your database was provisioned, find your direct Prisma Postgres connection string:
4343

44-
1. Open a project in your [Prisma Console](https://console.prisma.io) account (or create a new one)
45-
1. Navigate to a environment with an active Prisma Postgres instance
46-
1. Click the **Dashboard** tab in the project's sidenav
47-
1. Find the **Connect to your database** card and click the **Connect** button
48-
1. Copy the connection string starting with `postgres://`, this is your direct connection string
44+
1. Navigate to your active Prisma Postgres instance.
45+
1. Click the **API Keys** tab in the project's sidenav.
46+
1. Click the **Create API key** button.
47+
1. In the popup, provide a **Name** for the API key and click **Create**.
48+
1. Copy the connection string starting with `postgres://`, this is your direct connection string.
4949

5050
Save the connection string, you'll need it in the next step.
5151

content/200-orm/500-reference/325-prisma-config-reference.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ Here is a simplified version of the `PrismaConfig` type:
5555

5656
```ts
5757
export declare type PrismaConfig = {
58+
5859
// Whether features with an unstable API are enabled.
5960
experimental: {
60-
adapter: true,
61-
externalTables: true,
62-
studio: true,
61+
adapter: boolean;
62+
externalTables: boolean;
63+
studio: boolean;
6364
},
6465

6566
// The path to the schema file, or path to a folder that shall be recursively searched for *.prisma files.
@@ -68,7 +69,7 @@ export declare type PrismaConfig = {
6869
// The Driver Adapter used for Prisma CLI.
6970
adapter?: () => Promise<SqlMigrationAwareDriverAdapterFactory>;
7071

71-
// The configuration for Prisma Studio.
72+
// Configuration for Prisma Studio.
7273
studio?: {
7374
adapter: () => Promise<SqlMigrationAwareDriverAdapterFactory>;
7475
};
@@ -89,6 +90,7 @@ export declare type PrismaConfig = {
8990
typedSql?: {
9091
path: string;
9192
};
93+
9294
};
9395
```
9496

content/250-postgres/100-introduction/200-getting-started.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ prisma generate --no-engine
5454
You can access Prisma Postgres with any ORM or database tool of your choice via [direct TCP connections](/postgres/database/direct-connections).
5555

5656
In order to get a direct TCP connection string, you need to:
57-
1. Open a project in your [Prisma Console](https://console.prisma.io) account (or create a new one)
58-
1. Navigate to a environment with an active Prisma Postgres instance
59-
1. Click the **Dashboard** tab in the project's sidenav
60-
1. Find the **Connect to your database** card and click the **Connect** button
61-
1. Copy the connection string starting with `postgres://`, this is your direct connection string
57+
1. Navigate to your active Prisma Postgres instance.
58+
1. Click the **API Keys** tab in the project's sidenav.
59+
1. Click the **Create API key** button.
60+
1. In the popup, provide a **Name** for the API key and click **Create**.
61+
1. Copy the connection string starting with `postgres://`, this is your direct connection string.
6262

6363
Once you have the connection string, you can follow the setup docs for PostgreSQL of any ORM or database tool:
6464

content/250-postgres/300-database/650-direct-connections.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ If you connect to it via another tool, you can do so with a [direct connection s
1616

1717
In order to get a direct connection string, you need to:
1818

19-
1. Open a project in your [Prisma Console](https://console.prisma.io) account (or create a new one)
20-
1. Navigate to a environment with an active Prisma Postgres instance
21-
1. Click the **Dashboard** tab in the project's sidenav
22-
1. Find the **Connect to your database** card and click the **Connect** button
23-
1. Copy the connection string starting with `postgres://`, this is your direct connection string
19+
1. Navigate to your active Prisma Postgres instance.
20+
1. Click the **API Keys** tab in the project's sidenav.
21+
1. Click the **Create API key** button.
22+
1. In the popup, provide a **Name** for the API key and click **Create**.
23+
1. Copy the connection string starting with `postgres://`, this is your direct connection string.
2424

2525
## Connection string
2626

0 commit comments

Comments
 (0)