Alle 12:44, venerdì 21 ottobre 2005, Dave Nebinger ha scritto:
> The devs have finally un-hard-masked MySQL (still soft masked by ~x86
> keyword).  But, in their wisdom, they block the 4.1 to 5.0 unless you
> define MYSQL_STRAIGHT_UPGRADE=1 before starting the emerge.

This because there are issues, with a stright upgrade. Take a look at 
these upstream docs.

http://dev.mysql.com/doc/refman/5.0/en/upgrading-grant-tables.html
http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-4-1.html
http://dev.mysql.com/doc/refman/5.0/en/news-5-0-x.html
http://dev.mysql.com/doc/refman/5.0/en/mysql-fix-privilege-tables.html

The procedure to upgrade should be very similar to the one described by 
our docs for 4.0 -> 4.1
http://www.gentoo.org/doc/en/mysql-upgrading.xml

>
> I originally allowed ~x86 because I wanted the 4.1 version of the db,
> and everything has been working fine on my end.  But now it's time to
> consider whether or not to keep the ~x86 keyword and move to the 5.0
> branch or remove it to stay at 4.1.

Depend on how much time and effort you want to destiny to this, at the 
moment will not very much supported and the efforts are still 97% on 
4.1 series that we have stabilized from few days.

Timings ? An upstream developer in his blog mentioned that MySQL will be 
considered "Generally Avaiable" that mean "stable" on november.
Minimum for stable in Gentoo tree is one month, but I don't think it 
will be so soon (2 or 3 months is more doable).

>
> Has anyone out there done the 4 to 5 upgrade?  What will I need to do
> post-install to migrate my databases?

Rebuild all the packages that use libmysql and reload the data.

>
> Also I hestitate to ask if I should do the upgrade; I know folks will
> say that it is still soft masked and that's a reason not to do it,
> but that kind of response I can do without.  A reason outside of the
> soft-mask that says why I should not upgrade would be a lot more
> valuable.

It's doable, it's unsupported, upgrading a database is rarely a easy 
joke, only a full reading of the previous links could give you an 
answer.

>
> A google search did not turn up anything gentoo specific about the
> upgrade, but I'm still looking for general 4 to 5 upgrading
> procedures (hmm, maybe I'll even get to submit a wiki article or
> something ;-)
>

Because nothing exist yet ;-) . 
Feel free to write all you think worth to be shared.

> Thanks in advance!
>
> Dave

Cheers

-- 
gentoo-user@gentoo.org mailing list

Reply via email to