Oracle Database connection via SQLPLUS

oraclesqlplus

I am trying to connect to my Oracle database from SQLPlus, but I'm not able to connect.

I have Oracle client(10g) on my machine. Below are the details through which I am able to connect from my Java application.

connect('dbi:Oracle://IP/wborcle', 'username', 'pwd'));

What will be the hoststring when connecting via SQLPLUS?

Best Answer

Try

sqlplus username/password@host:port/service

sqlplus system/system@localhost:1521/xe

Copied from https://dba.stackexchange.com/questions/65032/connect-to-sql-plus-from-command-line-using-connection-string

Related Topic