Only save to MySQL Database if it is enabled