i dont think it was the database that went down, as much as it was something you changed, that caused the language files not to be able to communicate with the literal files and the dbase, and that is why you have the reported query error. i have seen this on a few occassions, where the user would tweak one of those item blocks that are built by ajax, this is a bad idea, and it causes problems. i know its not written anywhere that you shouldnt do that, but that is the cause of this type problem. see more
hopefully you have a dbase backup of your site. you can simply import the backed up dbase and all should be well. but the dbase didnt crash, you caused it to be unable to communicate wtih some change you made on the site.