OraCmd - Oracle access without client tool »

Download OraCmd Free Trial »

Connnect to Oracle

1. Normal mode:

OraCmd > connect username/password@host:port:SID;

example:

Oracle Command Tool - connect as normal

or:

OraCmd userid=username/password@host:port:SID

example:

Oracle Command Tool - connect as normal with parameter

If you want to hide password, use:

OraCmd > connect username@host:port:SID;

example:

Oracle Command Tool - connect as normal hide password

or:

OraCmd userid=username@host:port:SID

example:

Oracle Command Tool - connect as normal with parameter hide password

2. SysDBA mode:

OraCmd > connect username/password@host:port:SID as sysdba;

or:

OraCmd userid=username/password@host:port:SID mode=sysdba

To hide password, use:

OraCmd > connect username@host:port:SID as sysdba;

or:

OraCmd userid=username@host:port:SID mode=sysdba

3. SysOper mode:

OraCmd > connect username/password@host:port:SID as sysoper;

or:

OraCmd userid=username/password@host:port:SID mode=sysoper

To hide password, use:

OraCmd > connect username@host:port:SID as sysoper;

or:

OraCmd userid=username@host:port:SID mode=sysoper

Disconnect from Oracle:

OraCmd > disconnect;