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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
vcarazo
Frequent Visitor

Power BI Report Server can not connect to MySQL v8

Hi,

 

When we connect to a MySQL v8 in SaaS through MySQL connector/NET power bi desktop allows us to indicate that the communication will be encrypted, and Power BI Desktop connects without problem to MySQL.

 

The problem appears when publishing the dashboard in Power BI Report Server, since when configuring the dashboard connection from the Power BI Report Server portal it does not connect to MySQL and the following error appears:

 

MySQL: Authentication to host 'XXXXXXXXXX for user 'OXXXXXX' using method 'mysql_native_password' failed with message: Connections using insecure transport are prohibited while --require_secure_transport=ON.

 

How can we force it to encrypt the connection?

 

Greetings,

 

Victor

4 REPLIES 4
Anonymous
Not applicable

Hi @vcarazo ,

Have you solved the current problem?

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous,

 

the problem still remains.

 

MySQL server is a SaaS service so I can not change the flag require_secure_transport to off.

 

Best Regards,

 

Victor

Syndicate_Admin
Administrator
Administrator

Hello

when we connect to a MySQL v8 in SaaS through MySQL connector/NET Power BI desktop allows us to indicate that the communication will be encrypted, and Power BI Desktop connects without problem to MySQL.

The issue appears when publishing the dashboard to Power BI Report Server, as configuring the dashborad connection from the Power BI Report Server portal does not connect to MySQL and the following error appears:

MySQL: Authentication to host 'XXXXXXXXXX for user 'OXXXXXX' using method 'mysql_native_password' failed with message: Connections using insecure transport are prohibited while --require_secure_transport=ON.

How can we tell or force you to encrypt the connection?

Best regards

Victor

Anonymous
Not applicable

Hi @vcarazo ,

Use both:

config mysql system configuration (require_secure_transport=off)
Client connection to mysql server using SSL/TLS protocol configuration

Properly configure the MySQL server to support SSL connections. This includes having a valid server certificate

Below is the link will help you:

dev.mysql.com

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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