OraCmd - Oracle access without client tool »

Download OraCmd Free Trial »

Connnect to Oracle

1. Normal mode:

OraCmd > connect username/password@host:port:SID(or Service Name);

example:

Oracle Command Tool - connect as normal

or:

OraCmd userid=username/password@host:port:SID(or Service Name)

example:

Oracle Command Tool - connect as normal with parameter

If you want to hide password, use:

OraCmd > connect username@host:port:SID(or Service Name);

example:

Oracle Command Tool - connect as normal hide password

or:

OraCmd userid=username@host:port:SID(or Service Name)

example:

Oracle Command Tool - connect as normal with parameter hide password

2. SysDBA mode:

OraCmd > connect username/password@host:port:SID(or Service Name) as sysdba;

or:

OraCmd userid=username/password@host:port:SID(or Service Name) mode=sysdba

To hide password, use:

OraCmd > connect username@host:port:SID(or Service Name) as sysdba;

or:

OraCmd userid=username@host:port:SID(or Service Name) mode=sysdba

3. SysOper mode:

OraCmd > connect username/password@host:port:SID(or Service Name) as sysoper;

or:

OraCmd userid=username/password@host:port:SID(or Service Name) mode=sysoper

To hide password, use:

OraCmd > connect username@host:port:SID(or Service Name) as sysoper;

or:

OraCmd userid=username@host:port:SID(or Service Name) mode=sysoper

Disconnect from Oracle:

OraCmd > disconnect;