Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Connection to an Oracle Database

I've read a lot of threads about this specific issue but none of the solutions offered have solved it for me.

I'm trying to connect Power BI Desktop to an Oracle Database.

I installed the Oracle Client 12.1.0.2 64bit (same as Power BI).

I editted the tnsnames.ora file and added the info for the server in question.

After that I click on Get Data, select Oracle Database.

 In the "server" box I tried the following string (as suggested in another thread): 

"(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<myservername>)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=<myservicename>)))"

I made sure the service_name was exactly the same as in tnsnames.ora

When I click on OK, it prompts me for my username and password.

Upon all that I get the following message: 

Details: "Oracle: ORA-12545: Connect failed because target host or object does not exist"

Any help would be appreciated.

2 REPLIES 2
venal
Memorable Member
Memorable Member

@Anonymous 

Please refer the link for the issue.

If you have any concerns, please let us know.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more
If this post was helpful may I ask you to mark it as solution and click on thumb symbol?

Anonymous
Not applicable

Hi @Anonymous ,

 

Please use CMD to test if you can connect to Oracle Database:

sqlplus username/password@ip:port/servername

Please refer to this article: https://kb.informatica.com/solution/5/Pages/18751.aspx.

Hopefully works for you.

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors