Connecting to a Database

To connect to a Database, use NuoDB Command.

nuocmd connect database name --user <username> --password <password>

Note: For more information on NuoDB Command and other command line tools, see Command Line Tools.

For example, to connect to a database named test, with a username of dba and a password of goalie, run the following script:

nuocmd connect database test --user dba --password goalie
SQL>