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. 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.