Oracle provides precompiled MySQL Cluster binaries for Windows which should be adequate for most users. However, if you wish, it is also possible to compile MySQL Cluster for Windows from source code. The procedure for doing this is almost identical to the procedure used to compile the standard MySQL Server binaries for Windows, and uses the same tools. However, there are two major differences:
To build MySQL Cluster, you must use the MySQL Cluster sources, which you can obtain from http://dev.mysql.com/downloads/cluster/.
Attempting to build MySQL Cluster from the source code for the standard MySQL Server is likely not to be successful, and is not supported by Oracle.
You must configure the build using the
WITH_NDBCLUSTER_STORAGE_ENGINEoption in addition to any other build options you wish to use before creating the Visual Studio project files. Once you have run configure.js with the desired options, you can create the project files and build from them in the same manner as you do when compiling the standard MySQL Server. For more information, see Installing MySQL from Source on Windows.
Prior to MySQL Cluster NDB 7.1.9, MySQL Cluster was not
compatible with the
in earlier MySQL Cluster releases, only the version of
InnoDB supplied with the MySQL
Server could be used. Beginning with MySQL Cluster NDB 7.1.9,
you can build MySQL Cluster with
InnoDB storage engine or plugin
support on Windows using
Once the build process is complete, you can create a Zip archive
containing the compiled binaries by running
make_win_bin_dist. The MySQL Cluster binaries
can be found in the
bin directory of the
resulting archive, which is equivalent to the
no-install archive, and which can be
installed and configured in the same manner. For basic
information about how to accomplish these tasks, see
Section 4.2.1, “Installing MySQL Cluster on Windows from a Binary Release”.
On Windows, beginning with MySQL Cluster NDB 7.0.11, using
ndbmtd.exe to be built automatically, and to
be found in the
bin directory of the
archive created by make_win_bin_dist. (It was
not possible to build ndbmtd.exe on Windows
prior to MySQL Cluster NDB 7.0.11.)