Database Administration (MOSC)

MOSC Banner

database connection string

edited Sep 21, 2020 12:52PM in Database Administration (MOSC) 24 commentsAnswered ✓

Hello experts,

Dose connection string username/password@hostname:port/service_name working for Oracle 12C and 19C? As I tried

sqlplus username/password@hostname:port/service_name, didn't work for both 12C and 19C. Have to use:

sqlplus username/password@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=sli.ca.sunlife)))

Thanks in Advance,

Yousheng

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