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