Database Networking (MOSC)

MOSC Banner

SQL command is not working in solaris machine

edited Apr 3, 2017 5:00AM in Database Networking (MOSC) 3 commentsAnswered

Hi ,

I have a rquiremtn to write the script which connects to oracle database. The shell script is in one solaris host and db service is running on another soalris host. When I am excuting script  then it throwing "bash: sqlplus: command not found" exception. After gooling I found below solution to connect db

sqlplus 'username/password@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=)(PORT) (CONNECT_DATA=(SERVICE_NAME=)))' , but getting smae exception. Please could any one help me out of this.

Regards,

jitta.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center