New pyrimidine derivatives of formula (I) for use in treatment or prevention of bacterial infection in a host mammal in need of such treatment or prevention and use as inhibitor of biofilm formation on a surface of biomaterial or medical device, particularly of cardiovascular device such as prosthetic heart valve or pacemakers.