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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Helper IV
Helper IV

Error connecting Azure Database for My SQL


I recently set up an Azure Database for My SQL 


and I am trying to connect it to Power BI but I am encountering the following error:


"Authentication failed because the remote party has closed the transport stream"


Anyone any suggestions on how to address this connection issue ?

Microsoft Employee
Microsoft Employee


I can successfully connect to Azure MySQL database in the latest version of Power BI Desktop(2.57.5068.721 ). In your scenario, please verify the following things.

1. Set up firewall rule as described in this article. Check if you can connect to Azure MySQL database from MySQL workbench, ensure that MySQL workbench is installed in the same machine with Power BI Desktop. 
2. Use latest version of Power BI Desktop.
3. Input servername: port as Server, and use Database authentication.


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

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors