Documentation Home
MySQL NDB Cluster API Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 3.6Mb
PDF (A4) - 3.6Mb


2.1.1.1 General Requirements

To use the NDB API with MySQL, you must have the libndbclient client library and its associated header files installed alongside the regular MySQL client libraries and headers under install_dir/lib. These are automatically installed when you build MySQL using -DWITH_NDBCLUSTER=ON or use a MySQL binary package that supports the NDB storage engine.

This Guide is targeted for use with MySQL NDB Cluster 7.5 and later.

C and C++ language support.  The following table provides information about minimum C and C++ language requirements for compiling MGM API applications, NDB API applications, and the libndbclient library against supported versions of NDB Cluster.

Table 2.1 Language support requirements

NDB Cluster Version MGM API NDB API header files libndbclient
7.5, 7.6 C99 [a] C++98 [b] C99 or C++98 C++03 [c]
8.0, 8.1 [d] , 8.2 C++11 [e] C++11 C++11 C++03 [f]
8.3 and later C99 C++11 C99 or C++11 C++17 [f] [g]

[a] GCC 4.5; Clang (any version)

[b] GCC 4.8.1; Clang 3.3

[c] GCC 4.3; Clang (any version)

[d] NDB Cluster 8.1 was a MySQL NDB Cluster Innovation release which is no longer available; it was superseded by the NDB Cluster 8.2 Innovation release.

[e] GCC 4.8.1; Clang 3.3

[f] In these versions, this is the same as the level of C++ language support required to compile the MySQL server.

[g] GCC 8; Clang 5


For information about building MySQL and NDB Cluster from source, see Installing MySQL from Source. For information about building MySQL applications against the MySQL C API, see Building C API Client Programs.