Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual API Initialization and Cleanup

Before using the NDB API, it must first be initialized by calling the ndb_init() function. Once an NDB API application is complete, call ndb_end(0) to perform any necessary cleanup. Both of these functions are defined in storage/ndb/include/ndb_init.h.


It should be possible to use fork() in NDB API applications, but you must do so prior to calling ndb_init() or my_init() to avoid sharing of resources such as files and connections between processes.