Documentation Home
MySQL 9.2 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.8Mb
PDF (A4) - 40.9Mb
Man Pages (TGZ) - 259.7Kb
Man Pages (Zip) - 366.9Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


MySQL 9.2 Reference Manual  / ...  / MySQL NDB Cluster 9.2  / NDB Cluster Installation  / Installing NDB Cluster on Windows  /  Compiling and Installing NDB Cluster from Source on Windows

25.3.2.2 Compiling and Installing NDB Cluster from Source on Windows

Oracle provides precompiled NDB Cluster binaries for Windows which should be adequate for most users. However, if you wish, it is also possible to compile NDB 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:

  • MySQL NDB Cluster 9.2 is built from the MySQL Server 9.2 sources, available from the MySQL downloads page athttps://dev.mysql.com/downloads/. The archived source file should have a name similar tomysql-9.3.0.tar.gz. You can also obtain the sources from GitHub athttps://github.com/mysql/mysql-server.

  • You must configure the build using theWITH_NDB option in addition to any other build options you wish to use withCMake.WITH_NDBCLUSTER is also supported for backwards compatibility, but is deprecated and subject to future removal.

Important

TheWITH_NDB_JAVA option is enabled by default. This means that, by default, ifCMake cannot find the location of Java on your system, the configuration process fails; if you do not wish to enable Java and ClusterJ support, you must indicate this explicitly by configuring the build using-DWITH_NDB_JAVA=OFF. (Bug #12379735) UseWITH_CLASSPATH to provide the Java classpath if needed.

For more information aboutCMake options specific to building NDB Cluster, seeCMake Options for Compiling NDB Cluster.

Once the build process is complete, you can create a Zip archive containing the compiled binaries;Section 2.8.4, “Installing MySQL Using a Standard Source Distribution” provides the commands needed to perform this task on Windows systems. The NDB Cluster binaries can be found in thebin directory of the resulting archive, which is equivalent to theno-install archive, and which can be installed and configured in the same manner. For more information, seeSection 25.3.2.1, “Installing NDB Cluster on Windows from a Binary Release”.