Zach Smith
Zach Smith

Reputation: 5674

Cleaning up my SQL code

So I have a site that is now receiving 30k unique hits a day, and at this moment during the day of peak hours I am getting a lot of 'error establishing database connection' (it's a WP install if you haven't guessed).

Here is a quote from my host:

The error that you included in your support request seems to indicate that something is wrong with the code and the SQL query is not formatted properly. You would need to dig into that. We do not offer support for third-party applications or custom code.

Is there some "easy way" of pinpointing bad formatted/programmed code via Firebug or some FF extension? I am trying to find any other possibility than going through line by line and making this a five year plan.

Any help would be greatly appreciated.

Upvotes: 0

Views: 153

Answers (1)

If this only happens during peak hours it's probably got nothing to do with the SQL query. Probably the system is not responding fast enough.

Upvotes: 1

Related Questions