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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

PowerBI portal does not connect to MySQL DB server in Azure after Encryption

Hi

After setting Azure MySql to accept SSL connection, the Connection to PowerbI Portal via Gateway web Application is not working.

 

Without the Encryption the connection between PowerBI Portal and MySQL DB in Azure works fine (Using Gateway) , adding the Encryption , the portal stop it's connection (We do not have refresh...).

The Connections work well also with Encryption and PowerBI Desktop. 

This is the Error we are getting from PowerBI:  “Failed to update data source credentials: MySQL: Authentication to host mySQL.mysql.database.azure.com' for user MyUser@mysql.com' using method 'mysql_native_password' failed with message: SSL connection is required. Please specify SSL options and retry.Hide details”

Do I need to configure any certification in the PowerBI Admin portal ?

Thanks for your help 😊

2 REPLIES 2
Anonymous
Not applicable

MicrosoftTeams-image (22).pngHi , We are using the *.pem key CRT to connect the mySql to Azure using mySQL workbench and it works fine, However, when creating SSL encription in MySql Azure DB, we facing issues to connect PowerBI portal to the Azure (No ability to refresh the data) , we didn't find any setting within PowerBI portal for inserting the pem key. 

Appreciate your help MicrosoftTeams-image (22).png

v-cazheng-msft
Community Support
Community Support

Hi @Anonymous,

 

You may consider this solution. Download the certificate over SSL with your Azure Database for MySQL server from https://www.digicert.com/CACerts/BaltimoreCyberTrustRoot.crt.pem and save the certificate file to the local drive of the machine installed the gateway and try again.

 

Here is an official document that may help you. Configure SSL - Azure Database for MySQL | Microsoft Docs

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!

 

Best Regards,    

Community Support Team _ Caiyun

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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