A fatal MySQL error occurred.

Query:
SELECT SQL_CALC_FOUND_ROWS r.*, rt.rating, u.login FROM pmd_v1_reviews r LEFT JOIN pmd_v1_ratings rt ON r.rating_id=rt.id LEFT JOIN pmd_v1_users u ON u.id=r.user_id WHERE r.listing_id='1114' AND status='active' GROUP BY r.id ORDER BY id DESC LIMIT 0,10010

Error:
(1) Can't create/write to file '/var/lib/mysql/#sql_da6_0.MYI' (Errcode: 122)