You can use this option to access a remote computer in order to create a new database there or to connect to an existing database.
With this option you enter the name of the corresponding computer.
The X SERVER program is active on the database computer (status: Started).
To create a database on a remote computer, you need to have an operating system user on that computer. This user must have the right “logon as batch job”.
Note
To find out how you can assign this right to a user, see your operating system documentation.
-n <database_computer>
Option |
Description |
---|---|
<database_computer> |
Database computer |
Log on to Database Manager CLI as operator OLEG with the password MONDAY, connect to the database DEMODB on the computer GENUA, and display the operational state of the database:
>dbmcli -u OLEG,MONDAY -d DEMODB -n GENUA db_state
OK
ONLINE
Database Manager CLI Tutorial, Backing Up the Database on a Remote Computer