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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Arranafc19
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 ?

1 REPLY 1
Anonymous
Not applicable

@Arranafc19,

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.
1.PNG

Regards,
Lydia

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.