How to Use SQL*Plus to Connect to Database Without Setting Up tnsnames.ora File
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms