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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
2operate
Frequent Visitor

Problem using MariaDB datasource in PowerBI online through gateway

We're having an issue connecting reports to gateways, when the reports are using MariaDB datasource.

 

Gateway version(s): 3000.138.3. The custom connector from MariaDB has been installed on the server, where the gateway is installed.

2operate_0-1663833355158.png

 

The error we're presented with is the following

2operate_1-1663833432681.png2operate_2-1663833953243.png

 

The datasource has been added to the gateway cluster, through PowerBI online and the status says online, when checking through "Manage Gateways".

 

What are we missing?

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @2operate

 

For the on-premises data gateway, you need to create a data source for your custom connector. On the gateway settings page in the Power BI service, you should see an option when you select the gateway cluster to allow using custom connectors with this cluster. Select that option to enable using custom connectors with this cluster.

 

vjianbolimsft_2-1663915301815.png

When this option is enabled, you see your custom connectors as available data sources that you can create under this gateway cluster. After you create a data source that uses your new custom connector, you can refresh Power BI reports by using that custom connector in the Power BI service.

vjianbolimsft_3-1663915351054.png

Besides, please consider some limitations of custom connector:

  • Make sure the folder you create is accessible to the background gateway service. Typically, folders under your user’s Windows folder or system folders won’t be accessible. The on-premises data gateway app shows a message if the folder isn't accessible. This instruction doesn't apply for the on-premises data gateway (personal mode).
  • For custom connectors to work with the on-premises data gateway, they need to implement a “TestConnection” section in the custom connector’s code. This section isn't required when you use custom connectors with Power BI Desktop. For this reason, you can have a connector that works with Power BI Desktop, but not with the gateway. For more information on how to implement a TestConnection section, see this documentation.
  • If your custom connector is on a network drive, include the fully qualified path on the on-premises data gateway app.
  • You can only use one custom connector data source when working in DirectQuery mode; multiple custom connector data sources will not work when using DirectQuery.

Refer to: 

Use custom data connectors with the on-premises data gateway - Power BI | Microsoft Learn

TripPin 9 - Test Connection - Power Query | Microsoft Learn

Custom Data Connector: How to Deploy and Test - Microsoft Power BI Community

 

Best Regards,

Jianbo Li

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

Hi,

 

Thank you for the reply, however all this should be in place, as also shown on the first picture. The problem might be that we shouldn't need a "custom connector".

 

mariadb_test.png

MariaDB is available as a datasource and we've created this on two different Gateway clusters, yet we're still seeing the problem.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Top Kudoed Authors