mysqli_sql_exception thrown

Can't create/write to file '/tmp/#sql_436_1.MAI' (Errcode: 28 "No space left on device")