Can't create/write to file '/tmp/#sql_541_0.MYD' (Errcode: 17)

SELECT DISTINCT(fkBatteryID), BatteryModel, ManufactureTitle, ManufactureImage, ManufactureDescrition, ManufactureModelTitle, BatteryImage, BatterySpecification, BatteryCapacity, BatteryWarranty, BatteryPriceMRP, BatteryPriceWithBattery, BatteryPriceWithoutBattery, ManufactureModelImage,BatteryBrandTitle FROM battery_manufacture_model LEFT JOIN manufactures ON battery_manufacture_model.fkManufactureID = manufactures.pkManufactureID LEFT JOIN manufactures_models ON battery_manufacture_model.fkManufactureModelID = manufactures_models.pkManufactureModelID LEFT JOIN batteries ON battery_manufacture_model.fkBatteryID = batteries.pkBatteryID LEFT JOIN battery_brands ON battery_manufacture_model.fkBatteryBrandID = battery_brands.pkBatteryBrandID WHERE battery_manufacture_model.fkBatteryTypeID='1' AND battery_manufacture_model.fkManufactureID='3' AND battery_manufacture_model.fkManufactureModelID='510' AND BatteryStatus = "Active" ORDER BY BatteryPriceMRP ASC