[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On 08 May 2007 15:30:09 -0500, Jason L Tibbitts III <tibbs math uh edu> wrote:
>>>>> "MV" == Maxim Veksler <hq4ever 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 redhat com
https://www.redhat.com/mailman/listinfo/fedora-packaging



--
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]