If you are talking about using the control panel to edit your html includes.
That would really have nothing to do with a database connection error.
Try checking your mysql server it may be down.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers