These results suggested that mastitis induced by S. maltophilia was associated with the activation of calcium/ROS/AMPK/mTOR/autophagy and the NF-κB and MAPK signalling pathways. The gene discussed is MTOR; the disease is mastitis.