WP: Error connecting to database When you’re getting an error that says “Error connecting to your database” once you login to your WP-admin, chances are that you’ve got a corrupted database.