Specifying SID for QuickSight Oracle Data Set Connection

0

Hello,

I have an Oracle Database that is hosted within an EC2 instance (not via RDS). I am trying to connect to it as a Data Source in Amazon QuickSight and it is producing the following error:

sourceErrorCode:	GENERIC_SQL_EXCEPTION
sourceErrorMessage:	Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor (CONNECTION_ID=xxxxxxx)

I know the credentials I am using are correct. I can connect externally, for example, using a JDBC connection string of jdbc:oracle:thin:@%s:1521/%s where we specify host, database, user, and pass. And I know what the SID is, but I don't have a means to specify it in the "New ORACLE data source" UI. I can't find anywhere in the documentation what SID the connection string for QuickSight might be using so I could modify my listener on the database side, so I'm not sure how to proceed. Any help is appreciated!

Acrn
已提問 1 個月前檢視次數 97 次
1 個回答
0

Hi, in the quicksight connection UI you have the property database name - that should translate directly to the SID i would have thought?

You can maybe check the listener log on the oracle side to see what is being presented as the SID to the listener?

It could also be that SID's are not configured in the listener at all - it is the legacy mode of connecting even though it's very widely used - you may only have service_names configured and might need to add an explicit hardcoded entry for the SID corresponding to database name in the listener.ora.

Cheers, Rich

AWS
已回答 1 個月前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南