Description.
This function establishes a connection to a management
server specified by the connectstring set by
Section 3.2.4.9, “ndb_mgm_set_connectstring()
”.
Signature.
int ndb_mgm_connect ( NdbMgmHandlehandle
, intretries
, intdelay
, intverbose
)
Parameters. This function takes 4 arguments:
A management server handle
.
The number of retries
to make when
attempting to connect. 0
for this
value means that one connection attempt is made.
The number of seconds to
delay
between connection
attempts.
If verbose is 1
, then a message is
printed for each connection attempt.
Return value.
This function returns -1
in the event of
failure.