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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
Ibrahim_shaik
Helper IV
Helper IV

Need Help in Connecting MySQL Cloud database in the Power BI Service

Hi Power BI Community,

 

I have a MySQL cloud Database and from the Get Data in the Power BI Desktop I have connected to MYSQL Database via import Data Connectivity mode.

 

I want to Publish the report in Power BI Service and refresh the report.

 

I am not Familiar with Power BI Service.

 

I need urgent Help.

 

Thanks&Regards,

Ibrahim Shaik 

2 ACCEPTED SOLUTIONS
v-jianpeng-msft
Community Support
Community Support

Hi, @Ibrahim_shaik 

As @tharunkumarRTK says, you need to install a standard gateway, here are some basic processes and steps:

1.Complete your report in Power BI Desktop. Click in the upper-right corner to sign in to your Power BI Service account. Click File >>Publish>>Publish to Power BI>> select the Power BI workspace you want to publish to>> click select>> wait for the publish to succeed.

vjianpengmsft_0-1709873144149.png

vjianpengmsft_1-1709873267596.png

vjianpengmsft_2-1709873306711.png

vjianpengmsft_3-1709873364330.png

2. Install a standard gateway. You can click the link below to go directly to the gateway download page or click the download arrow in the upper right corner of Power BI Service to download the gateway to your computer. 

Power BI Gateway | Microsoft Power BI

vjianpengmsft_4-1709873900482.png

vjianpengmsft_5-1709873967820.png

You can click on the link below to learn more about the two modes of the gateway:

On-premises data gateway - Power BI | Microsoft Learn

To configure the workflow of the gateway, you can click on the second link in the tharunkumarRTK reply.

The basic process for configuring gateway and data source connections in Power BI Service is as follows:

1.In Power BI, click the little gear in the top right corner >> Click Manage connections and gateways:

vjianpengmsft_6-1709874766723.png

2. At on premises data gateways page, You can view the gateways installed on the current account and the gateways that are shared with you by other accounts. At connections page, You can see that you have configured the data source connection. You need to click on the one above New to add a new connection. On the right, a link configuration page will pop up.

vjianpengmsft_7-1709874815321.png

vjianpengmsft_8-1709875170301.png

Select your gateway in the first input box:

vjianpengmsft_9-1709875376123.png

Select MySQL for Connection Type, 

 

vjianpengmsft_10-1709875475659.png

And fill in your voucher and other relevant information according to your actual situation. After you have filled in the relevant information, click the Create button below:

vjianpengmsft_11-1709875654952.png

3. Go to the workspace where your report is located, find your semantic model and click on the three dots next to it:

Click Settings:

vjianpengmsft_12-1709875897862.png

Unfold Gateway and cloud connection and select the connection you just configured:

vjianpengmsft_13-1709875968644.png

4. Expand the Refresh tab below to configure a refresh schedule for your semantic model:

vjianpengmsft_14-1709876207101.png

In Power BI, there is a limit to the number of times different licenses can be refreshed in a day, and here are some of the official documentation you need to use:

Configure scheduled refresh - Power BI | Microsoft Learn

Connect to cloud data sources in the Power BI service - Power BI | Microsoft Learn

Troubleshoot refresh scenarios - Power BI | Microsoft Learn

Types of licenses for Power BI business users - Power BI | Microsoft Learn

Power BI Premium Per User - Power BI | Microsoft Learn

 

 

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

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

 

 

View solution in original post

Hi, @Ibrahim_shaik 

Thank you very much for your reply. You can discover a Cloud option in the Connection of Power BI Service, as shown in the following image:

vjianpengmsft_0-1709881590628.png

vjianpengmsft_1-1709881614489.png

Only the data sources in this list do not need a gateway, and there is no MySQL in this list.

 

View solution in original post

6 REPLIES 6
Ibrahim_shaik
Helper IV
Helper IV

Thank you @tharunkumarRTK 

v-jianpeng-msft
Community Support
Community Support

Hi, @Ibrahim_shaik 

As @tharunkumarRTK says, you need to install a standard gateway, here are some basic processes and steps:

1.Complete your report in Power BI Desktop. Click in the upper-right corner to sign in to your Power BI Service account. Click File >>Publish>>Publish to Power BI>> select the Power BI workspace you want to publish to>> click select>> wait for the publish to succeed.

vjianpengmsft_0-1709873144149.png

vjianpengmsft_1-1709873267596.png

vjianpengmsft_2-1709873306711.png

vjianpengmsft_3-1709873364330.png

2. Install a standard gateway. You can click the link below to go directly to the gateway download page or click the download arrow in the upper right corner of Power BI Service to download the gateway to your computer. 

Power BI Gateway | Microsoft Power BI

vjianpengmsft_4-1709873900482.png

vjianpengmsft_5-1709873967820.png

You can click on the link below to learn more about the two modes of the gateway:

On-premises data gateway - Power BI | Microsoft Learn

To configure the workflow of the gateway, you can click on the second link in the tharunkumarRTK reply.

The basic process for configuring gateway and data source connections in Power BI Service is as follows:

1.In Power BI, click the little gear in the top right corner >> Click Manage connections and gateways:

vjianpengmsft_6-1709874766723.png

2. At on premises data gateways page, You can view the gateways installed on the current account and the gateways that are shared with you by other accounts. At connections page, You can see that you have configured the data source connection. You need to click on the one above New to add a new connection. On the right, a link configuration page will pop up.

vjianpengmsft_7-1709874815321.png

vjianpengmsft_8-1709875170301.png

Select your gateway in the first input box:

vjianpengmsft_9-1709875376123.png

Select MySQL for Connection Type, 

 

vjianpengmsft_10-1709875475659.png

And fill in your voucher and other relevant information according to your actual situation. After you have filled in the relevant information, click the Create button below:

vjianpengmsft_11-1709875654952.png

3. Go to the workspace where your report is located, find your semantic model and click on the three dots next to it:

Click Settings:

vjianpengmsft_12-1709875897862.png

Unfold Gateway and cloud connection and select the connection you just configured:

vjianpengmsft_13-1709875968644.png

4. Expand the Refresh tab below to configure a refresh schedule for your semantic model:

vjianpengmsft_14-1709876207101.png

In Power BI, there is a limit to the number of times different licenses can be refreshed in a day, and here are some of the official documentation you need to use:

Configure scheduled refresh - Power BI | Microsoft Learn

Connect to cloud data sources in the Power BI service - Power BI | Microsoft Learn

Troubleshoot refresh scenarios - Power BI | Microsoft Learn

Types of licenses for Power BI business users - Power BI | Microsoft Learn

Power BI Premium Per User - Power BI | Microsoft Learn

 

 

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

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

 

 

Thanks alot for the detailed description.

 

Thank you @v-jianpeng-msft.

 

For MySQL i have to use data gateway even if the MySQL Database is in Cloud?

Hi, @Ibrahim_shaik 

Thank you very much for your reply. You can discover a Cloud option in the Connection of Power BI Service, as shown in the following image:

vjianpengmsft_0-1709881590628.png

vjianpengmsft_1-1709881614489.png

Only the data sources in this list do not need a gateway, and there is no MySQL in this list.

 

Yeah I have checked, there is no MySQL connection type.

 

Thank you.

tharunkumarRTK
Super User
Super User

@Ibrahim_shaik 

As far as I know, you cannot connect to MySQL datasource with out on premises data gateway. 
Info: https://learn.microsoft.com/en-us/power-query/connectors/mysql-database

setup onpremises data gateway: https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-install

and install MySQL driver on your gateway server. (you might have installed it on your machine to use mySQL from power bi desktop). Then configure the on premises connection in power bi service. After that you will be able to map your publised dataset with the new configured connection and can refresh it from service.

 


If the post helps please give a thumbs up


If it solves your issue, please accept it as the solution to help the other members find it more quickly.


Tharun

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.