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
visheshjain
Contributor III

Error in refresh on service using MySQL RDS data source

Hello everyone,

 

My data source is MySQL hosted on AWS RDS, for all my tables.

There are 2 main tables, 1 with 6.8 million rows and another with 2.5 million rows, amongst few other small tables with 200,000 rows, 65000 rows and few more lookup tables with less than 100 rows.

 

I have published the report to service and I am getting this error for the refresh.

The MySql source doesn't support encrypted connections. The exception was raised by the IDbCommand interface.

 

I want to refresh the report on the service WITHOUT USING A GATEWAY.

 

I have checked the PBI desktop file and removed encryption from data source settings but still I am getting the refresh error in Service.

visheshjain_0-1769597331856.png

 

Please can someone help me fix this issue.

If you want any further details, please let me know.

 

Thank you,

Vishesh Jain

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



4 REPLIES 4
collinq
Esteemed Contributor

Hi @visheshjain ,

I do not think that you can refresh this without a gateway.  Power BI requires a gateway for MySQL connections.  If you don't want to use an ENTERPRISE gateway, and you have the right permissions, you can use a PERSONAL gateway but MySQL requires a gateway of some sort.

 

That said, if you really want to get into the weeds and try workarouns, you can expose MySQL endpoints to the cloud (huge potential security risk) or enable SSL or TLS on your MySQL server and create a certificate for it then you should be able to get around it as well.  I don't recommend either of those but if you absolutely do not want a gateway then those are workarounds that you can do.  BUT, as always, do so at your own risk!




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Hi @collinq,

 

This is my configuration in the PBI service for the data source and I have entered the credentials in the 'Data Source Credentials' tab.

 

I tried something else; I removed all the tables except for the 6.8 million rows table and published it to the service with the same configuration and the refresh worked.

 

Are there any other suggestions that might be useful, apart from using a gateway?

 

Thank you,

Vishesh Jain

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



v-nmadadi-msft
Honored Contributor III

Hi @visheshjain ,

You need to install the Oracle MySQL Connector/NET package before using this connector in Power BI Desktop. For Power Query Online (dataflows) or Power BI service, if your MySQL server isn't cloud accessible and an on-premises data gateway is needed, the component Oracle MySQL Connector/NET must also be correctly installed on the machine running the on-premises data gateway.

 

Power Query MySQL database connector - Power Query | Microsoft Learn

 

I hope this information helps. Please do let us know if you have any further queries.
Thank you

v-nmadadi-msft
Honored Contributor III

Hi @visheshjain 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.


Thank you.

Helpful resources

Announcements
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.

Users online (91)