Re: Upgrading databases as part of the RPM postinst script?

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

 



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



--
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux