Script Execution Error

The MySQL extension encountered a problem submitting an SQL statement. MySQL reported the error as: Can't create/write to file '/var/tmp/#sql_2d9_1.MAI' (Errcode: 28)

File: /core/KHXC/KHXC.php Line: 503 Error Number: 256