archive_an_account: handling of mysql