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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Thibaut_G
New Member

Mysql cloud database refresh data

Hello,

I have a cloud Mysql database, everything work well on power BI desktop but when I publish on power BI service it seems that I can't refresh the data.
I have this error message:
" Scheduled refresh is disabled because at least one data source is missing credentials. To start the refresh again, go to this dataset's settings page and enter credentials for all data sources. Then reactivate scheduled refresh."

The data source credentials and scheduled refresh sections are greyed out...
I searched for few hours and didn't find any solution.

Do I have to use gateway, even with a cloud based database? If yes, why? If the database was installed locally I would understand but in this case it's quite strange...


Thanks in advance

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. If you want to connect to mysql you need a data gateway even if it's in cloud. The idea of having a source in cloud is not the only reason for avoiding a data gateway. It dependes on the source if Power Bi will be able to read it. Power Bi Service contains a limited connector to data sources and you can't install it more. If you think about it you have installed a connector for mysql in order to get data from the source with Power Bi Desktop. Power Bi service doesn't have that connecotr on cloud and that's why it needs a gateway to refresh data even if it's in cloud. It can't read that engine by default.

I would recommend a VM in the current cloud vendor to install the on premise data gateway.

Hope this helps,

P/D Don't forget to restart the vm after installing the mysql provider for power bi.


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

Happy to help!

LaDataWeb Blog

View solution in original post

3 REPLIES 3
ibarrau
Super User
Super User

Hi. If you want to connect to mysql you need a data gateway even if it's in cloud. The idea of having a source in cloud is not the only reason for avoiding a data gateway. It dependes on the source if Power Bi will be able to read it. Power Bi Service contains a limited connector to data sources and you can't install it more. If you think about it you have installed a connector for mysql in order to get data from the source with Power Bi Desktop. Power Bi service doesn't have that connecotr on cloud and that's why it needs a gateway to refresh data even if it's in cloud. It can't read that engine by default.

I would recommend a VM in the current cloud vendor to install the on premise data gateway.

Hope this helps,

P/D Don't forget to restart the vm after installing the mysql provider for power bi.


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

Happy to help!

LaDataWeb Blog

hi, where should this gateway be installed or setup?

Thank you for the explanation, it's clear now!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.