Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ pg_restore \
&& echo "-complete-"
```

Once the command completes execution, you will have successfully imported the data from your your existing PostgreSQL database into Prisma Postgres 🎉
Once the command completes execution, you will have successfully imported the data from your existing PostgreSQL database into Prisma Postgres 🎉

To validate that the import worked, you can use [Prisma Studio](/postgres/database/tooling#viewing-and-editing-data-in-prisma-studio). Either open it in the [Platform Console](https://console.prisma.io) by clicking the **Studio** tab in the left-hand sidenav in your project or run this command to launch Prisma Studio locally:
To validate that the import worked, you can use [Prisma Studio](/postgres/integrations/viewing-data#viewing-and-editing-data-in-prisma-studio). Either open it in the [Platform Console](https://console.prisma.io) by clicking the **Studio** tab in the left-hand sidenav in your project or run this command to launch Prisma Studio locally:

```terminal
npx prisma studio
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ If you see output like this, it means your data has been successfully exported t

:::note

You also can use [Prisma Studio](/postgres/database/tooling#viewing-and-editing-data-in-prisma-studio) and verify whether the migration was successful:
You also can use [Prisma Studio](/postgres/integrations/viewing-data#viewing-and-editing-data-in-prisma-studio) and verify whether the migration was successful:

```terminal
npx prisma studio
Expand Down
4 changes: 2 additions & 2 deletions content/250-postgres/300-database/650-direct-connections.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ password: <none>

This will start the tunnel on a randomly assigned TCP port. The proxy automatically handles authentication, so any database credentials are accepted. The tunnel also encrypts traffic, meaning clients should be set to not require SSL.

You can now connet to your Prisma Postgres editor using your favorite PostgreSQL client, e.g. `psql` or a GUI like [TablePlus](/postgres/database/tooling#2a-connect-to-prisma-postgres-using-tableplus) or [DataGrip](/postgres/database/tooling#2b-connect-to-prisma-postgres-using-datagrip). To do so, you only need to provide the **`host`** and **`port`** from the output above. The TCP tunnel will handle authentication via the API key in your Prisma Postgres connection URL, so you can omit the values for **`username`** and **`password`**.
You can now connect to your Prisma Postgres editor using your favorite PostgreSQL client, e.g. `psql` or a GUI like [TablePlus](/postgres/integrations/viewing-data#2a-connect-to-prisma-postgres-using-tableplus) or [DataGrip](/postgres/integrations/viewing-data#2b-connect-to-prisma-postgres-using-datagrip). To do so, you only need to provide the **`host`** and **`port`** from the output above. The TCP tunnel will handle authentication via the API key in your Prisma Postgres connection URL, so you can omit the values for **`username`** and **`password`.**

### Customizing host and port

Expand All @@ -176,7 +176,7 @@ npx @prisma/ppg-tunnel --host 127.0.0.1 --port 5432

### Next steps

The local tunnel enables you to access Prisma Postgres from 3rd party database editors such as Postico, DataGrip, TablePlus and pgAdmin. Learn more in this [section](/postgres/database/tooling).
The local tunnel enables you to access Prisma Postgres from 3rd party database editors such as Postico, DataGrip, TablePlus and pgAdmin. Learn more in this [section](/postgres/integrations/viewing-data).

### Security considerations

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'Tooling'
metaTitle: 'Tooling'
metaDescription: 'Learn about connecting directly to your database via TCP tunnel'
title: 'Viewing data'
metaTitle: 'Viewing data'
metaDescription: 'Viewing and editing data in Prisma Postgres via Prisma Studio or other database GUIs.'
tocDepth: 3
toc: true
---
Expand Down
8 changes: 6 additions & 2 deletions static/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@
/postgres/connection-pooling /docs/postgres/database/connection-pooling
/postgres/backups /docs/postgres/database/backups
/postgres/tcp-tunnel /docs/postgres/database/tcp-tunnel
/postgres/tooling /docs/postgres/database/tooling
/postgres/tooling /docs/postgres/integrations/tooling
/postgres/caching /docs/postgres/database/caching

/optimize/recommendations/excessive-number-of-rows-returned /docs/postgres/query-optimization/recommendations/excessive-number-of-rows-returned
Expand Down Expand Up @@ -619,7 +619,7 @@
/postgres/connection-pooling* /docs/postgres/database/connection-pooling
/postgres/backups* /docs/postgres/database/backups
/postgres/tcp-tunnel* /docs/postgres/database/tcp-tunnel
/postgres/tooling* /docs/postgres/database/tooling
/postgres/tooling* /docs/postgres/integrations/tooling
/postgres/api-reference* /docs/postgres/database/api-reference

/optimize/recommendations/* /docs/postgres/query-optimization/recommendations
Expand All @@ -633,4 +633,8 @@
/postgres/more/known-limitations /docs/postgres/introduction/overview
/postgres/integrations/vscode-extension* /postgres/integrations/vscode:splat

/postgres/database/tooling /docs/postgres/integrations/viewing-data
/postgres/integrations/tooling /docs/postgres/integrations/viewing-data


### NO REDIRECTS BELOW THIS LINE. ADD REDIRECTS ABOVE THIS SECTION ###
Loading