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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
navinrangar
Advocate I
Advocate I

Does MySQL database hosted on AWS cloud requires a data gateway?

I want to create a  DirectQuery report from mySQL database hosted on AWS cloud through PowerBI Desktop. Then I want to publish that report to PowerBi Service.

 

I know mySQL hosted on local requires a data gateway to sync data to PowerBi Service report. But I don't know if same is true for mySQL hosted on AWS cloud???

 

official docs aren't very clear about this. anyone have any idea?

2 REPLIES 2
jaweher899
Super User
Super User

Yes, to create a DirectQuery report in Power BI Desktop that connects to a MySQL database hosted on AWS cloud, you will need to use a data gateway. The data gateway allows Power BI to connect securely to your MySQL database and perform DirectQuery operations in real-time.

The process for setting up a data gateway to connect to a MySQL database hosted on AWS cloud is very similar to the process for setting up a gateway to connect to a local MySQL instance. You will need to install the data gateway on a server that has network access to your MySQL database, and then configure the gateway to connect to your database using the appropriate credentials and settings.

When you publish your report to the Power BI service, you will also need to configure the dataset to use the same data gateway that you configured in Power BI Desktop. This will allow the service to connect to your MySQL database in real-time and display the latest data to your users.

Here are the general steps you can follow to create a DirectQuery report in Power BI Desktop that connects to a MySQL database hosted on AWS cloud:

  1. Install the Power BI data gateway on a server that has network access to your MySQL database.

  2. Configure the data gateway to connect to your MySQL database using the appropriate credentials and settings.

  3. Open Power BI Desktop and create a new report.

  4. In the "Home" tab, click "Get Data" and select "MySQL database" from the list of data sources.

  5. Enter the connection details for your MySQL database, including the server name, database name, and credentials.

  6. Select "DirectQuery" as the data connectivity mode.

  7. Select the tables and columns that you want to include in your report.

  8. Design your report using the visualizations and formatting options available in Power BI Desktop.

  9. Save your report and publish it to the Power BI service.

  10. Configure the dataset to use the same data gateway that you configured in Power BI Desktop.

  11. Test your report in the Power BI service to ensure that it is working correctly.

I hope this helps!

Thanks @jaweher899 i wanted to know if I can directly create a report from my remote mySQL dataset in powerbi Service? it could save us a good amount of time. is there a way?

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.

Top Solution Authors
Top Kudoed Authors