This section provides information regarding Cluster software and table file compatibility between differing versions of the MySQL Server for purposes of performing upgrades and downgrades.
Only compatibility between MySQL versions with regard to
NDBCLUSTER is taken into account in this
section, and there are likely other issues to be considered.
As with any other MySQL software upgrade or downgrade,
you are strongly encouraged to review the relevant portions of
the MySQL Manual for the MySQL versions from which and to which
you intend to migrate, before attempting an upgrade or downgrade
of the MySQL Cluster software. See
Section 2.11, “Upgrading MySQL”.
The following table shows Cluster upgrade and downgrade compatibility between different versions of the MySQL Server.

Notes:
4.1 Series:
You cannot upgrade directly from 4.1.8 to 4.1.10 (or newer); you must first upgrade from 4.1.8 to 4.1.9, then upgrade to 4.1.10. Similarly, you cannot downgrade directly from 4.1.10 (or newer) to 4.1.8; you must first downgrade from 4.1.10 to 4.1.9, then downgrade from 4.1.9 to 4.1.8.
If you wish to upgrade a MySQL Cluster to 4.1.15, you must upgrade to 4.1.14 first, and you must upgrade to 4.1.15 before upgrading to 4.1.16 or newer.
Cluster downgrades from 4.1.15 to 4.1.14 (or earlier versions) are not supported.
Cluster upgrades from MySQL Server versions previous to 4.1.8
are not supported; when upgrading from these, you must dump
all NDB tables, install the new version of
the software, and then reload the tables from the dump.
5.0 Series:
MySQL 5.0.2 was the first public release in this series.
Cluster downgrades from MySQL 5.0 to MySQL 4.1 are not supported.
Cluster downgrades from 5.0.12 to 5.0.11 (or earlier) are not supported.
You cannot restore with ndb_restore to a MySQL 5.0 Cluster using a backup made from a Cluster running MySQL 5.1. You must use mysqldump in such cases.
There was no public release for MySQL 5.0.23.
5.1 Series:
MySQL 5.1.3 was the first public release in this series.
You cannot downgrade a MySQL 5.1.6 or later Cluster using Disk Data tables to MySQL 5.1.5 or earlier unless you convert all such tables to in-memory Cluster tables first.
MySQL 5.1.8, MySQL 5.1.10, and MySQL 5.1.13 were not released.
Online cluster upgrades and downgrades between MySQL 5.1.11
(or an earlier version) and 5.1.12 (or a later version) are
not possible due to major changes in the cluster filesystem.
In such cases, you must perform a backup or dump, upgrade (or
downgrade) the software, start each data node with
--initial, and then restore from the backup
or dump. You can use NDB backup/restore or
mysqldump for this purpose.
Online downgrades from MySQL 5.1.14 or later to versions previous to 5.1.14 are not supported due to incompatible changes in the cluster system tables.
Online upgrades from MySQL 5.1.17 and earlier to 5.1.18 and
later are not supported for clusters using replication due to
incompatible changes in the
mysql.ndb_apply_status table. However, it
should not be necessary to shut down the cluster entirely, if
you follow this modified rolling restart procedure:
Stop the management server, update the
ndb_mgmd binary, then start it again.
For multiple management servers, repeat this step for
each management server in turn.
For each data node in turn: Stop the data node, replace
the ndbd binary with the new version,
then restart the data node. It is not necessary to use
--initial when restarting any of the
data nodes.
Stop all SQL nodes. Replace the
mysqld binary with the new version
for all SQL nodes, then restart them. It is not
necessary to start them one at a time, but they must all
be shut down at the same time before starting any of
them again using the 5.1.18 (or later)
mysqld. Otherwise — due to the
fact that mysql.ndb_apply_status uses
the NDB storage engine and is thus
shared between all SQL nodes — there may be
conflicts between MySQL servers using the old and new
versions of the table.
You can find more information about the changes to
ndb_apply_status in
Section 19.11.4, “Cluster Replication Schema and Tables”.
The internal specifications for columns in
NDB tables changed in MySQL 5.1.18 to allow
compatibility with future MySQL Cluster releases that are
expected to implement online adding and dropping of columns.
This change is not backwards compatible with earlier MySQL
versions.
In order to make tables created in MySQL 5.1.17 and earlier compatible with online adding and dropping of columns when this features becomes available, it is necessary force MySQL 5.1.18 and later to convert the tables to the new format by following this procedure:
Upgrade the MySQL Cluster software on all data, management, and SQL nodes
Back up all NDB tables
Shut down the cluster (all data, management, and SQL nodes)
Restart the cluster, starting all data nodes with the
--initial option (to clear and rebuild
the data node filesystems)
Restore the tables from backup
This is not necessary for NDB tables
created in MySQL 5.1.18 and later; such tables will
automatically be compatible with online adding and dropping of
columns when this feature is introduced.
In order to minimise possible later difficulties, it is strongly advised that the procedure outlined above be followed as soon as possible after to upgrading from MySQL 5.1.17 or earlier to MySQL 5.1.18 or later.
For users of MySQL Cluster NDB the relevant versions are as follows:
MySQL Cluster NDB 6.1. The new table format is implemented beginning with MySQL Cluster NDB 6.1.7.
MySQL Cluster NDB 6.2. The new table format is implemented beginning with MySQL Cluster NDB 6.2.1.

User Comments
Add your own comment.