Search the MySQL manual:

2.5.1.1 Preparing to Upgrade From Version 4.0 to 4.1

Some visible things have changed between MySQL 4.0 and MySQL 4.1 to fix some critical bugs and make MySQL more compatible with the ANSI SQL standard.

Instead of adding options (and a lot of code) to try to make 4.1 behave like 4.0 we have taken another approach:

We have added to the later MySQL 4.0 releases (from 4.0.12 on) the --new startup option for mysqld, which gives you the 4.1 behaviour for the most critical changes. You can also set this behaviour for a given client connection with the SET @@new=1 command.

If you believe that some of the following changes will affect you when you upgrade to 4.1, we recommend that before upgrading to 4.1, you download the latest MySQL 4.0 version and make sure that your applications work in the --new mode. This way you will have a smooth painless upgrade to 4.1 later.

In MySQL 4.1 we have done some things that may affect applications. The following is a list of things that you have to watch out for when upgrading to version 4.1:

Note: The table definition format used in `.frm' files has changed slightly in 4.1. MySQL 4.0 versions from 4.0.11 on can read the new `.frm' format directly, but older versions cannot. If you need to move tables from 4.1 to an earlier MySQL version, you should use mysqldump. See section 4.8.6 mysqldump, Dumping Table Structure and Data.

If you are running MySQL Server on Windows, please also see section 2.5.7 Upgrading MySQL under Windows.

User Comments

Add your own comment.