Moving a MySQL installation?

Ward Vandewege ward at pong.be
Fri Apr 13 22:29:44 EDT 2007


On Fri, Apr 13, 2007 at 08:31:52PM -0400, Kristian Hermansen wrote:
> On 4/13/07, Matt Shields <mattboston at gmail.com> wrote:
> >Actually, option 1 is the preferred way to move the data.  That the
> >indexes do not have to be rebuilt.  Doing a dump and import it will
> >have to rebuild.
> 
> Can you simply move 4.x /var/lib/ data to a 5.x installation and have
> it work?  I was under the impression that this data would not be
> suitable for a 5.x installation...

Last time I did this (on Debian or Ubuntu), MySQL automatically upgraded the
tables... I've had zero problems with this approach in the past, and use it
regularly.

Thanks,
Ward.

-- 
Pong.be         -( "Fools ignore complexity.  Pragmatists suffer it. Some  )-
Virtual hosting -(     can avoid it.  Geniuses remove it." -- Perlis's     )-
http://pong.be  -(  Programming Proverb #58, SIGPLAN Notices, Sept.  1982  )-
GnuPG public key: http://gpg.dtype.org

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list