From 5cf9e35388a286d6749da286383064ef17a762c5 Mon Sep 17 00:00:00 2001 From: Jon Harrell <4829245+jharrell@users.noreply.github.com> Date: Thu, 14 Nov 2024 13:14:11 -0600 Subject: [PATCH] add sslrootcert to arguments (#6432) * add sslrootcert to arguments * duh moment --- .../200-orm/050-overview/500-databases/300-postgresql.mdx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/content/200-orm/050-overview/500-databases/300-postgresql.mdx b/content/200-orm/050-overview/500-databases/300-postgresql.mdx index dad04752e9..1ea784fa7c 100644 --- a/content/200-orm/050-overview/500-databases/300-postgresql.mdx +++ b/content/200-orm/050-overview/500-databases/300-postgresql.mdx @@ -2,17 +2,12 @@ title: 'PostgreSQL' metaTitle: 'PostgreSQL database connector' metaDescription: 'This page explains how Prisma can connect to a PostgreSQL database using the PostgreSQL database connector.' -tocDepth: 3 --- - - The PostgreSQL data source connector connects Prisma ORM to a [PostgreSQL](https://www.postgresql.org/) database server. By default, the PostgreSQL connector contains a database driver responsible for connecting to your database. You can use a [driver adapter](/orm/overview/databases/database-drivers#driver-adapters) (Preview) to connect to your database using a JavaScript database driver from Prisma Client. - - ## Example To connect to a PostgreSQL database server, you need to configure a [`datasource`](/orm/prisma-schema/overview/data-sources) block in your [Prisma schema](/orm/prisma-schema): @@ -149,6 +144,7 @@ The following arguments can be used: | `pool_timeout` | No | `10` | Maximum number of seconds to wait for a new connection from the pool, `0` means no timeout | | `sslmode` | No | `prefer` | Configures whether to use TLS. Possible values: `prefer`, `disable`, `require` | | `sslcert` | No | | Path of the server certificate. Certificate paths are [resolved relative to the `./prisma folder`](/orm/prisma-schema/overview/data-sources#securing-database-connections) | +| `sslrootcert` | No | | Path of the root certificate. Certificate paths are [resolved relative to the `./prisma folder`](/orm/prisma-schema/overview/data-sources#securing-database-connections) | | `sslidentity` | No | | Path to the PKCS12 certificate | | `sslpassword` | No | | Password that was used to secure the PKCS12 file | | `sslaccept` | No | `accept_invalid_certs` | Configures whether to check for missing values in the certificate. Possible values: `accept_invalid_certs`, `strict` |