Is there a way of editing the Database Error Page on moodle? I can't find the file
If Moodle cannot connect to the database, then almost none of the standard Moodle libraries are available, and so it is very limited what you can do.
Therefore, I think the code to output that page is hard-coded somewhere. Yes, it is in lib/setup.php (http://cvs.moodle.org/moodle/lib/setup.php?view=markup&pathrev=MOODLE_19_STABLE)
Is this the same for 2x? I can't find it in lib/setup.php.
It would be great to be able to provide the user with something less robotic.