changing app to use mysql rather than the in-memory DB