Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Intermittent P1001 - "Can't reach database server..." #5172

Closed
NAllred91 opened this issue Oct 20, 2021 · 1 comment
Closed

Intermittent P1001 - "Can't reach database server..." #5172

NAllred91 opened this issue Oct 20, 2021 · 1 comment

Comments

@NAllred91
Copy link

Describe the bug
While my app is running, I occasionally see logs for error P1001. The app continues to function and has access to the database for subsequent requests.

To Reproduce
This seems to be random, but seems to occur most often when the app is under load and has multiple connections to the database.

Expected behavior
I'd like this error to provide more information. It is a strange error to receive while your app is actively connected to the database.

Versions (please complete the following information):

  • Connector: MySQL
  • Prisma 3.1.1

This error very frequently occurs simultaneously with P2024. I wonder if P2024 is the real error I'm experiencing and P1001 is being thrown by mistake?

@NAllred91
Copy link
Author

Wrong Prisma repo

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

No branches or pull requests

1 participant