Description.  This function retrieves the connection string used for a connection.


This function returns the default connection string if no call to ndb_mgm_set_connectstring() has been performed. In addition, the returned connection string may be formatted slightly differently than the original in that it may contain specifiers not present in the original.

The connection string format is the same as that discussed for Section, “ndb_mgm_set_connectstring()”.


const char* ndb_mgm_get_connectstring
      NdbMgmHandle handle,
      char*        buffer,
      int          size

Parameters.  This function takes three arguments:

Return value.  The connection string—this is the same value that is pushed to the buffer.