N
Neon17mo ago
conscious-sapphire

Can't reach database server at `ep-royal-butterfly-a5wke235.us-east-2.aws.neon.tech:5432`

I've got this error since i move in holiday and work in another city. I am using the following stack with versions : NextJS v14.1.4, prisma v^5.16.1, prisma/client v^5.16.1", My database url is : postgresql://recette-lauriane_owner:<password>@ep-royal-butterfly-a5wke235-pooler.us-east-2.aws.neon.tech/recette-lauriane?sslmode=require&connect_timeout=10 I've got this error in local development
3 Replies
rival-black
rival-black17mo ago
Hey there - Can you query the database in the console? Can you connect via psql ?
conscious-sapphire
conscious-sapphireOP17mo ago
Thank you for you response. when i do the command psql. I've got this error message : [Tue Jul 02 2024 16:45:35 GMT+0200 (heure d’été d’Europe centrale)] ERROR Error: ENOENT: no such file or directory, open 'C:\wamp64\www\react-project\recette-lauriane-next\config\app.yml' at Object.readFileUtf8 (node:internal/fs/sync:25:18) at Object.readFileSync (node:fs:441:19) at Object.readConfig (C:\Users\users\AppData\Roaming\npm\node_modules\psql\node_modules\yaml-config\lib\yaml-config.js:57:25) How can i do for query the database in the console ? Sorry my bad english...
sensitive-blue
sensitive-blue16mo ago
Hey @coachnayo, That error seems more specific to your project setup. Can you use your connection string at https://neon.tech/demos/playground and see if it works?
Postgres AI Playground
Postgres playground where you can connect to your database and use AI to generate SQL queries

Did you find this page helpful?