Fix WordPress Database Connection Error

Заказчик: AI | Опубликовано: 28.02.2026

My WordPress site suddenly began showing the “Error establishing a database connection” screen even though I haven’t touched the hosting setup, updated plugins, or changed server software. Everything was working fine, then—seemingly at random—the front-end and wp-admin both went down. I need someone who can jump in, pinpoint the root cause, and restore normal access without data loss. You may need to verify wp-config.php credentials, test MySQL/MariaDB availability, inspect error logs, and run any necessary repairs via phpMyAdmin, WP-CLI, or direct SSH. If the issue turns out to be corruption in the database tables, I’ll rely on you to repair or import clean backups. Deliverables: • Identify the exact cause of the connection failure • Fix it so the site loads normally and the dashboard is accessible • Provide a brief summary of the steps taken and any preventive recommendations Please be prepared to start right away; the site is currently offline.