MySQL ERROR:

Error Number: 1

Description: Can't create/write to file '/tmp/#sql_77ca_0.MYI' (Errcode: 2)

Query: SELECT DISTINCT (exp_categories.cat_id), exp_categories.cat_name, exp_categories.cat_description, exp_categories.cat_image, exp_categories.parent_id FROM exp_categories , exp_category_posts LEFT JOIN exp_weblog_titles ON exp_category_posts.entry_id = exp_weblog_titles.entry_id WHERE group_id ='3' AND exp_weblog_titles.weblog_id = '9' AND exp_categories.cat_id IN ('25','63','26','27','28','30','31','32','33','34','35','36') ORDER BY parent_id, cat_order