Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

3.2.4.9 ndb_mgm_set_bindaddress()

Description.  This function makes it possible to set a local bind address for the management server. If used, it must be called before connecting to the management server.

Signature. 

int ndb_mgm_set_bindaddress
    (
      NdbMgmHandle handle,
      const char*  address
    )

Parameters.  This function takes two parameters:

  • A management handle (NdbMgmHandle).

  • A string address of the form host[:port].

Return value.  Returns an integer:

  • 0 indicates success

  • Any nonzero value indicates failure (the address was not valid)

    Important

    Errors caused by binding an otherwise valid local address are not reported until the connection to the management is actually attempted.


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.