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

Description.  Used to determine whether a connection has been established.


This function does not determine whether or not there is a live management server at the other end of the connection. Beginning with MySQL 5.1.17, you can use ndb_mgm_check_connection() to accomplish that task.


int ndb_mgm_is_connected
      NdbMgmHandle handle

Parameters.  A management server handle.

Return value.  This function returns an integer, whose value is interpreted as follows:

  • 0: Not connected to the management node.

  • Any nonzero value: A connection has been established with the management node.

User Comments
Sign Up Login You must be logged in to post a comment.