How to Use SQL*Plus to Connect to Database Without Setting Up tnsnames.ora File
(Doc ID 376578.1)
Last updated on OCTOBER 28, 2016
Applies to:SQL*Plus - Version: 184.108.40.206
Information in this document applies to any platform.
Usually you use a connect string provided in the tnsnames.ora file to connect to a database, for example:
However, you have a requirement to connect to a database using SQL*Plus, without a tnsnames.ora file.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!