Reworked the patching process to not expose mysql usernames and passwords and made the mysqldump_tables more robust based on type of mysql db being used.