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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.