Whisk sugar and vinegar together in small saucepot and bring to a boil over medium heat. Stir in onion, carrot, ginger and salt then remove pot from heat and hold aside to cool to room temperature
Stir in cucumber and mango, transfer salad to a storage container with a lid, and chill up to 24 hours before serving.