Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual ndb_mgm_get_version()

Description.  Given a management server handle, this function gets NDB engine and MySQL Server version information for the indicated management server.


int ndb_mgm_get_version
      NdbMgmHandle handle,
      int* major,
      int* minor,
      int* build,
      int length,
      char* string

Parameters.  An NdbMgmHandle, and pointers to the NDB engine major, minor, and build version values, as well as a pointer to the version string (along with the strength's length).

The version string uses the format mysql-x.x.x ndb-y.y.y-status, where x.x.x is the three-part MySQL Server version, and y.y.y is the three-part NDB storage engine version. The status string indicates the release level or status; usually this is one of beta, rc, or ga, but other values are sometimes possible.

Return value.  ndb_mgm_get_version() returns an integer: 0 on success; any nonzero value indicates an error.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.