Alcohol is polar solvent. Remember the like substances dissolve in like solvent. Non polar substance dissolve in polar solvent and non polar substance dissolve in non polar solvent.
Ionic compounds are polar so dissolve in polar solvent. It is due to their hydration.