Skip to main content
1 of 3

did you try

sqlplus username/password@host:port/service
sqlplus x/y@c:a/b

modern sqlplus (version 11 or newer) understands this syntax and you don't need a tnsnames.ora file.