My database endpoints are disabled—how do I fix the "endpoint has been disabled" error?
My database endpoints are disabled—how do I fix the "endpoint has been disabled" error?
This error means your database compute endpoint has been paused. To unpause it:
- Open the Database pane and select Development from the dropdown.
- If an Unpause database button appears, select it.
- Switch the dropdown to Production and select Unpause database again if it appears.
DATABASE_URL secret may be hiding it. Open the Secrets pane, compare any DATABASE_URL entry with the connection string in the Database pane, and update or remove the conflicting secret so they match.Common causes are an unpaid invoice (pay it to prevent recurrence) or a transient pause during publishing (the unpause steps above resolve it). See Production databases.The status page shows a Production Database outage—do I need to file a ticket?
The status page shows a Production Database outage—do I need to file a ticket?
No. If the outage is already listed on status.replit.com, the team is working on it and a ticket won’t speed up the fix. Open the active incident and subscribe to updates to be notified as it progresses.If your database problem is not listed on the status page, contact Replit Support.
How do I restore a deleted or dropped database table?
How do I restore a deleted or dropped database table?
Replit supports point-in-time restore for production databases. The restore window depends on your plan—7 days on Core and 28 days on Pro.To restore, open the Database pane, go to the database, open its restore settings, select the timestamp you want, and confirm. If you’re outside the restore window, contact Replit Support. See Production databases.
My app is throwing "connection pool exhausted" errors—what does that mean?
My app is throwing "connection pool exhausted" errors—what does that mean?
Your app is opening more database connections at once than the pool allows. Common causes:
- Connections that aren’t closed after each request
- A traffic spike
- Slow queries holding connections open
How do I migrate from the development database to production?
How do I migrate from the development database to production?
Replit keeps development and production databases separate so test changes don’t hit live data. To run migrations against production, add your migration command to your deployment’s build or pre-deploy step so it runs on each deploy. For example, use
drizzle-kit migrate for Drizzle. You can also run the migration manually from a Shell in your production environment.See Create a production database when publishing.My database shows "endpoint disabled" even though billing is current
My database shows "endpoint disabled" even though billing is current
Sometimes this happens independently of billing. Try unpausing manually: open the Database pane, select Development, and select Unpause database if it appears, then repeat for Production.If the button doesn’t appear or the problem keeps recurring, contact Replit Support with your project URL—this can require a manual unpause. See Production databases.