MySQL 5.1 Reference Manual  /  ...  /  Compiling and Installing MySQL Cluster from Source on Windows Compiling and Installing MySQL Cluster from Source on Windows

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

    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_ENGINE option 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 Section 2.11.7, “Installing MySQL from Source on Windows”.

Prior to MySQL Cluster NDB 7.1.9, MySQL Cluster was not compatible with the InnoDB Plugin; 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 WITH_INNOBASE_STORAGE_ENGINE with configure.js-

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, “Installing MySQL Cluster on Windows from a Binary Release”.

On Windows, beginning with MySQL Cluster NDB 7.0.11, using WITH_NDBCLUSTER_STORAGE_ENGINE with configure.js causes 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.)

Download this Manual
User Comments
Sign Up Login You must be logged in to post a comment.