[Fedora-packaging] Upgrading databases as part of the RPM postinst script?

Maxim Veksler hq4ever at gmail.com
Tue May 8 20:35:46 UTC 2007

On 08 May 2007 15:30:09 -0500, Jason L Tibbitts III <tibbs at math.uh.edu> wrote:
> >>>>> "MV" == Maxim Veksler <hq4ever at gmail.com> writes:
> MV> As part of the software (binaries) upgrade process my rpm will
> MV> need to update database scheme (and possibly some configurations
> MV> data) inside a mysql database.
> I would recommend not even attempting to do that kind of thing.  How
> do you know the database is running at the time, or even that it's on
> the same machine?

I check, or ask the user.

I think that my questions is more of "how to do this" then who/when to
do this. I think we can agree that if my databases changes between
version and I wish to allow my users to continue running with their
existing data I need to provide some method for them to upgrade their
scheme while not loosing their data.

Pointers on the above would be very welcome.
Thank you.

>  - J<
> --
> Fedora-packaging mailing list
> Fedora-packaging at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-packaging

Maxim Veksler

"Free as in Freedom" - Do u GNU ?

More information about the Fedora-packaging mailing list