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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Connecting to Mysql as directQuery mode using Mariadb Connector

Hello,

We have a requirement to monitor frequently updated data via Power bi and will be embedded in a web application, the data source is actually Mysql,

Since MySQL Does not support DirectQuery Mode, I managed to connect to it via a MariaDB connector (which is usable to connect to Mysql Database), and the DirectQuery works perfectly fine with MySQL using this connector, 

 

I also managed to set up a gateway so it could connect to our locally hosted virtual machine that hosts the Mysql server,

Everything seems to work fine.

 

My question is, is this approach reliable enough to go to production? Should I expect any "weird" behavior, for example, if the data grows?

 

I appreciate your help.

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi , @Anonymous 

As far as I know, you implemented Direct Query using the Mariadb Connector tool to connect to your Mysql database.

For Direct Query mode, which is a real-time connection mode, every time we load a visual, we will send a query like the underlying data source, the speed of the query depends on the load of the underlying data source, for your question, I think as long as the load of the underlying data source is enough to support your report query, there will be no problem.

For more information, you can refer to :

Using DirectQuery in Power BI - Power BI | Microsoft Learn

 

Best Regards,

Aniya Zhang

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

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi , @Anonymous 

As far as I know, you implemented Direct Query using the Mariadb Connector tool to connect to your Mysql database.

For Direct Query mode, which is a real-time connection mode, every time we load a visual, we will send a query like the underlying data source, the speed of the query depends on the load of the underlying data source, for your question, I think as long as the load of the underlying data source is enough to support your report query, there will be no problem.

For more information, you can refer to :

Using DirectQuery in Power BI - Power BI | Microsoft Learn

 

Best Regards,

Aniya Zhang

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.