Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
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
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
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
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:
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.