How to connect with Oracle autonomous database?
See original GitHub issueHi , I’m having issue to connect with Oracle autonomous database.
I’m trying to connect to Oracle free autonomous database from EF core 2.2 and i’m getting this erro.
2020-02-29 09:05:33.304378 ThreadID:1 (ERROR) OracleDatabaseCreator.Exists() : OracleException.Number: 12537
2020-02-29 09:05:33.307641 ThreadID:1 (ERROR) OracleDatabaseCreator.Exists() : Oracle.ManagedDataAccess.Client.OracleException (0x80004005): ORA-12537: Network Session: End of file
---> OracleInternal.Network.NetworkException (0x000030F9): ORA-12537: Network Session: End of file
at OracleInternal.Network.OracleCommunication.DoConnect(String tnsDescriptor)
at OracleInternal.Network.OracleCommunication.Connect(String tnsDescriptor, Boolean doNAHandshake, String IName, ConnectionOption CO)
at OracleInternal.ServiceObjects.OracleConnectionImpl.Connect(ConnectionString cs, Boolean bOpenEndUserSession, OracleConnection connRefForCriteria, String instanceName)
Connection String format
"ConnectionString": "User Id=ADMIN;Password=Password;Data Source=<adb....>.oraclecloud.com;"
so basically how to connect from these connection strings
Thank you 😃 !
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (10 by maintainers)
Top Results From Across the Web
2 Connecting to Autonomous Database - Cloud
About Connecting to an Autonomous Database Instance · Connect to Autonomous Database Using a Client Application · Download Database Connection Information.
Read more >About Connecting to an Autonomous Database Instance
To connect to Autonomous Database, depending upon your organization's network configuration, you may need to use a proxy server to access this port...
Read more >Using Oracle Autonomous Database Serverless
Connect to Autonomous Database Using Oracle Database Tools · Connect Oracle SQL Developer with a Wallet (mTLS) · Connect Oracle SQL Developer Without...
Read more >4 Ways to Connect to Autonomous Database on a Private ...
Go to Oracle SQL Developer and add New Database Connection · Enter your connection details: enter the name of your connection; enter the...
Read more >Create a Connection to Oracle Autonomous Data Warehouse
In the Oracle Autonomous Data Warehouse instance, click DB Connection. In Database Connection, under Download Client Credentials (Wallet), click Download. In ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have published the following sample code to demonstrate Oracle EF Core connectivity to Autonomous Database for anyone that stumbles across this thread and needs a sample.
https://github.com/oracle/dotnet-db-samples/tree/master/samples/dotnet-core/ef-core/autonomous-db
@sumanaik123 Can you turn on ODP.NET tracing to figure out where ODP.NET is looking for its tnsnames.ora file and which one it uses? The trace file should help resolve why you see an ORA-12154. You can turn on tracing using the following settings for managed ODP.NET or ODP.NET Core.