Properly add mysql resources and correct exec commands.