Skip to content

pgsql connect issue - upgrade pdo_pgsql to support SNI #391

@deepakplay

Description

@deepakplay

On Vercel When trying to connect Laravel + Vercel Storage PostgreSQL got this error

SQLSTATE[08006] [7] ERROR: Endpoint ID is not specified. Either please upgrade the postgres client library (libpq) for SNI support or pass the endpoint ID (first part of the domain name) as a parameter: '?options=endpoint%3D<endpoint-id>'. See more at https://neon.tech/sni ERROR: connection is insecure (try usingsslmode=require) (Connection: pgsql, SQL: select * from "users" where "email" = https://neon.tech/docs/connect/connectivity-issues

On https://phpshow.vercel.app/ it shows PostgreSQL (libpq) Version is 10.21 but the latest version is 16.1
Screenshot from 2023-12-04 22-11-50

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions