Welcome to Elgg.

Table './elgg/metadata' is marked as crashed and last (automatic?) repair failed

QUERY: SELECT m.*, n.string as name, v.string as value from metadata m JOIN entities e ON e.guid = m.entity_guid JOIN metastrings v on m.value_id = v.id JOIN metastrings n on m.name_id = n.id where m.entity_guid=1 and m.name_id='1' and ( (e.access_id IN (2)
OR (e.owner_guid = -1)
OR (
e.access_id = 0
AND e.owner_guid = -1
)
) and e.enabled='yes') and ( (m.access_id IN (2)
OR (m.owner_guid = -1)
OR (
m.access_id = 0
AND m.owner_guid = -1
)
) and m.enabled='yes') ORDER BY m.id ASC