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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aistebuivyte
Frequent Visitor

sql

Hi,

 

I need to connect to sql database. Our customer provided user name, password, dbname, port and host. I try to write my server name as host:port. I get an error. Do I need to configure something before connection? What would be the tutorial how to reach that data? Thank You in advance.

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@aistebuivyte,

Could you please post the error message that you get? Are you able to connect to the SQL Server instance from SQL Server Management Studio(SSMS)? Make sure SSMS is installed in the same machine as Power BI Desktop, and configure remote access to your SQL instance following the guide in this blog.

In addition, please review the following example to connect to SQL Server in Power BI Desktop, enter host, port as  Server.
2.JPG1.JPG



Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yuezhe-msft
Employee
Employee

@aistebuivyte,

Could you please post the error message that you get? Are you able to connect to the SQL Server instance from SQL Server Management Studio(SSMS)? Make sure SSMS is installed in the same machine as Power BI Desktop, and configure remote access to your SQL instance following the guide in this blog.

In addition, please review the following example to connect to SQL Server in Power BI Desktop, enter host, port as  Server.
2.JPG1.JPG



Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks a lot for information provided. Unfortunately, I get an error below. That means I can't reach SQL server from SSMS. How could I solve this?

Untitled.png

@aistebuivyte,

Ensure that you add the 5438 port into inbound rule of your firewall. And please follow the guide in the article below to troubleshoot the connection issue.

https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/troubleshoot-connecting-to-th...

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
aistebuivyte
Frequent Visitor

Hi,

 

I need to connect to sql database. Our customer provided user name, password, dbname, port and host. I try to write my server name as host:port. I get an error. Do I need to configure something before connection? What would be the tutorial how to reach that data? Thank You in advance.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors