T2D showed significant positive associations with cephalosporin (J01D: p = 0.048) and quinolone (J01M: p = 0.025), and a non-significant negative association was detected with broad-spectrum, beta-lactamase-sensitive penicillin (J01CA: p = 0.067). The gene discussed is LACTB; the disease is type 2 diabetes mellitus.