Any country with a gun culture and hopeless gun laws like USA will have mass shootings on a regular basis. In fact I'm surprised it doesn't happen more often in USA. 

The link with mental illness is that the mere possession of these guns makes people mentally ill.