Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual ndb_mgm_enter_single_user()

Description.  This function is used to enter single-user mode on a given node.


int ndb_mgm_enter_single_user
      NdbMgmHandle          handle,
      unsigned int          id,
      struct ndb_mgm_reply* reply

Parameters.  This function takes 3 parameters:

  • An NdbMgmHandle.

  • The id of the node to be used in single-user mode.

  • A pointer to an ndb_mgm_reply structure, used for a reply message.

Return value.  Returns -1 in the event of failure.