Error 500
This error indicates a problem with your origin web server, preventing it from fulfilling the request.
The Error establishing database connection message is a common HTTP 500 error, typically indicating an origin web server issue. If you encounter this error, contact your hosting provider for assistance.
When dealing with most 5XX errors, the first step is to reach out to your hosting provider or site administrator to help troubleshoot the issue. Share the necessary error details to your hosting provider to assist troubleshooting the issue.
However, if the 500 error contains cloudflare or cloudflare-nginx in the HTML response body, contact Cloudflare support and provide the following details:
- Your domain name
- The time and timezone of the
500error occurrence - The output of
www.example.com/cdn-cgi/tracefrom the browser where the500error was observed (replacewww.example.comwith your actual domain and hostname)
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark