Creating the First Domain Administrator Account

To create the first domain administrator account:

  1. Install NuoDB and start the broker if you did not automatically start services after installation was complete. See Starting and Stopping NuoDB Services.
  2. On the broker host, start the NuoDB Manager command line utility with the following command. Replace domainPassword with the setting of the domainPassword property as specified in the NUODB_HOME/etc/default.properties file.

    nuodbmgr --broker localhost --password domainPassword
    NuoDB host version: 2.6: Professional Edition
    nuodb [domain] >
  3. At the NuoDB Manager prompt, enter the following command:

    nuodb [domain] > create domain administrator
  4. At the User name prompt, enter a name for this administrator account.
  5. At the Password prompt, enter a password for this administrator account.
  6. Enter exit to quit NuoDB Manager.

After you create the first domain administrator account, you should always use an administrator account to sign in to NuoDB tools. For example, suppose you create an administrator account whose credentials are AdminName1 and AdminPw1. When signing in to NuoDB Manager, you would specify the ‑‑user parameter and ‑‑password parameter as follows:

nuodbmgr --broker host --user AdminName1 –-password AdminPw1

If you forget the password for this account, there is no user interface to recover it. You would need to create a new account.

To change the password for an administrator account, invoke the create domain administrator command, specify the existing user name and specify a new password. For example:

nuodbmgr --broker host --user AdminName1 –-password AdminPw1
NuoDB host version: 2.6: Professional Edition
nuodb [domain] > create domain administrator
nuodb [domain] >
User name: AdminName1
Password: AdminPw2
nuodb {domain} >