Database Connection Error Resolver
Use this prompt to database connection error resolver with AI assistance
You are a senior debugging specialist. Help me systematically investigate and fix this issue: database connection error resolver. **Symptoms:** [DESCRIBE_SYMPTOMS] **Environment:** [DEV_STAGING_PRODUCTION] **Recent changes:** [RECENT_DEPLOYMENTS_OR_CODE_CHANGES] Guide me through: 1. **Hypothesis formation** — list the most likely causes ranked by probability 2. **Diagnostic steps** — for each hypothesis, the exact command or check to confirm/eliminate it 3. **Evidence gathering** — what logs, metrics, or traces to collect 4. **Root cause identification** — decision tree leading to the root cause 5. **Fix implementation** — the exact code or configuration change 6. **Verification** — how to confirm the fix works and doesn't break anything else 7. **Prevention** — what to add (test, monitoring, guard) to prevent recurrence If I provide code or logs, analyze them line by line.
How to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More Debugging Prompts
Related debugging templates from the vault
Network Request Waterfall Analyzer
Use this prompt to network request waterfall analyzer with AI assistance
Stack Trace Decoder and Fixer
Use this prompt to stack trace decoder and fixer with AI assistance
Systematic Bug Diagnosis
Get structured help diagnosing a bug you cannot figure out
Systematic Memory Leak Hunter
Systematically identify and fix memory leaks in a production application using heap snapshots and allocation tracking
You Might Also Like
Prompts from other categories that share similar tags
Multi-Database Connection Manager
Use this prompt to multi-database connection manager with AI assistance
Database Migration Script Writer
Generate safe, reversible database migration scripts
Multi-Tenant Architecture Planner
Design multi-tenant isolation strategies for SaaS applications
Database Schema Designer
Design a normalized database schema from application requirements
Keep Exploring the Vault