Compounds of the formula (I) wherein n is 0, 1 or 2, R2 and R3 are hydrogen or a substituent as described in the specification, are useful for the prevention and treatment of bacterial infections, in particular of urinary infections caused by E. coli,wherein R1 is one of groups (B), (C), (D), (E) below: