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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
tom_pykes
Regular Visitor

Cannot refresh semantic model on MySQL (cloud) - import

Hi,

 

I have built a semantic model on a MySQL cloud database.
Works fine in Power BI desktop. Refreshing from the cloud fails with the error message

Spoiler
"The MySql source doesn't support encrypted connections."

Following the docs, I have set-up a connection via  Manage connections and gateways, which seems to connect successfully:

Screenshot 2024-11-29 at 09.34.29.png

 

Settings:

Screenshot 2024-11-29 at 11.24.13.png

 

 

Refresh fails dough:

Screenshot 2024-11-29 at 09.35.27.png

 

In power query, I removed the ReturnSingleDatabase=true option but has no impact. 

 

 

let
    Source = MySQL.Database("server_ip", "cloud_db"),
    items = Source{[Schema="cloud_db",Item="items"]}[Data]
in
    items

 

 

 

Anybody knows how to solve this? I really need my model to refresh on a daily basis...

4 REPLIES 4
Anonymous
Not applicable

Hi, @tom_pykes

Maybe you can  try restarting the MySql server or setting up database encryption. You can refer to the following posts:

vyohuamsft_0-1733105744589.png

Solved: Power BI Gateway MySQL source doesn't support encr... - Microsoft Fabric Community

 

Solved: The MySql source doesn't support encrypted connect... - Microsoft Fabric Community

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

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

Hey,

 

The server has been restarted over the weekend and that didn't solve anything.

The MySQL-instance is hosted by the ERP provider, so I am not entitled to set-up encryption on it. But I shouldn't, as Power BI provides the option not to use it.

 

I don't use a gateway (as one can see in my initial screenshot), I use a cloud connection.

I have the feeling that it is a bug, seems like the Power BI service ignores the "Not encrypted" parameter, or is there anybody who succeeded in actually refreshing a model without encryption?

 

Guess my best option here is to set-up a gateway... ?

 

Cheers,

Tom

arvindsingh802
Super User
Super User

As this is cloud connection, you do not need gateway, have you tried connecting without gateway ?
Also one of blog suggested to reboot the MYSQL server, can you try that as well if possible. 


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

Hi @arvindsingh802 ,

 

It is a cloud connection, not a gateway... setting up the connection works, refreshing the model doesn't

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.