Re: MySQL 5 : safe update ?
On 2006-02-21 Joe Emenaker wrote:
> >This, btw has been fixed in the meantime once I got aware of it :)
> >Now a big fat warning will be displayed and the preinst script aborted
> >if a .ISM file is found in /var/lib/mysql.
> If it's possible to determine if an upgrade to 5 is happening *before*
> version 4 is removed you can also include a script like the following
> that the admin can choose to execute:
The preinst of the new mysql package is executed before the contents
of the old version gets removed.
For converting there is already "mysql_convert_table_format".