Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgsql connect issue - upgrade pdo_pgsql to support SNI #391

Open
deepakplay opened this issue Dec 4, 2023 · 0 comments
Open

pgsql connect issue - upgrade pdo_pgsql to support SNI #391

deepakplay opened this issue Dec 4, 2023 · 0 comments

Comments

@deepakplay
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant