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.
This function was added in MySQL 5.1.18.
int ndb_mgm_set_bindaddress ( NdbMgmHandle handle, const char* address )
Parameters. This function takes two parameters:
A management handle (
addressof the form
Return value. Returns an integer:
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.