Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 4.8Mb
PDF (A4) - 4.8Mb
EPUB - 1.9Mb
HTML Download (TGZ) - 1.8Mb
HTML Download (Zip) - 1.9Mb


3.2.4.6 ndb_mgm_is_connected()

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

Note

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.

Signature.

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.