To use the NDB API with MySQL, you must have the
NDB
client library and its header files
installed alongside the regular MySQL client libraries and
headers. These are automatically installed when you build MySQL
using the --with-ndbcluster
configure option or when using a MySQL binary
package that supports the NDBCLUSTER
storage
engine.
MySQL 4.1 does not install the required
NDB
-specific header files. You should use
MySQL 5.0 or later when writing NDB API applications, and this
Guide is targeted for use with MySQL 5.1.
The library and header files were not included in MySQL 5.1
binary distributions prior to MySQL 5.1.12; beginning with
5.1.12, you can find them in
/usr/include/storage/ndb
. This issue did
not occur when compiling MySQL 5.1 from source.