cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: sql

@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
Highlighted
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.

Highlighted
Microsoft
Microsoft

Re: sql

@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

Highlighted
Frequent Visitor

Re: sql

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

Highlighted
Microsoft
Microsoft

Re: sql

@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.

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Community Summit Australia – Join Online!

Community Summit Australia – Join Online!

Be a part of the leading Microsoft Business Applications digital event, curated for the APAC community.

Top Solution Authors
Top Kudoed Authors