No offense, but you really need to be looking at a MySQL forum, not alfresco, for this sort of thing. I believe there would be some options/tools for helping to rebuild/recover mysql dbs, but I would not do that search here - Alfresco uses mysql, so if you can get the db fixed up - whatever the issue - then you should have no problem with getting data out of Alfresco. Yes, files are stored in the alf_data\contentstore under a date structure… year\month\day\hour\minute\ structure, with a .bin extension, but unencrypted/unchanged otherwise. Be aware that SWF (flash previews) and PNG (thumbnails) are also stored in this structure.