Disclosed is a method of preventing, treating or inhibiting bacterial infections. The method comprises administering at least one of the compounds disclosed herein. Also disclosed are methods of increasing acidity of bacterial phagosomes to inhibit bacterial growth, methods of increasing mitochondrial reactive oxygen species (mROS) generation to inhibit bacterial growth in a cell, pharmaceutical compositions and uses thereof.