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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
Community Champion
Community Champion

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.