wz*******@gmail.com wrote:
Hi there,
I'm trying to figure out if it's going painless to upgrade our oooold
mysql 3.23 to the latest MySQL 4 or 5.
Any suggestions?
It would be very advisable to back up your database(s) before installing
any new version of the software, and then restore the databases after
installing the software. I wouldn't rely on the database file format
remaining seamlessly compatible between such a wide range of software
versions. Restoring a backup basically recreates the database, so it
would be sure to recreate it in a format compatible with the new
software. Plus it's always good to have a backup.
I would recommend trying some tests on a separate machine, install MySQl
4.1 or 5.0 on another machine (even a laptop) and restore your backup
there. Run a few tests to make sure the data looks like it is
compatible, before installing the new software on your live server. The
reason I suggest using a different machine is that it is a complex
process to run two versions of MySQL on one host.
One particularly significant issue is that MySQL 4.1 and 5.0 use a
different algorithm for encoding passwords. You'll probably want to
start the newer servers with the --old-passwords option, at least
temporarily. If you don't, none of the existing passwords will work,
and you'll have to use GRANT to assign privileges to the databases.
See
http://dev.mysql.com/doc/refman/4.1/...d-hashing.html for a
full explanation of the difference in the password algorithm.
There are also changes to the handling of character sets that could
affect your database.
You can also read the change history for 4.0, 4.1, and 5.0 at these
locations:
http://dev.mysql.com/doc/refman/4.1/en/news-4-0-x.html http://dev.mysql.com/doc/refman/4.1/en/news-4-1-x.html http://dev.mysql.com/doc/refman/5.0/en/news-5-0-x.html
Regards,
Bill K.