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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ThomasH-R
New Member

"DM_GWPipeline_Gateway_CancellationOrTimeoutError" add MySQL datasource

I can not connect to MySQL datasource adding a MySQL datasource to my power bi gateway.  

When adding a MySQL datasource I must select which database I connect to but it seems that when I try to connect to the MySQL server the following query is run: 

 

This is the query run on the MySQL server and for my case it takes forever because there are many databases on my MySQL server and these databases contains many tables.

 

 

select TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, TABLE_TYPE, CREATE_TIME AS CREATED_DATE, UPDATE_TIME AS MODIFIED_DATE, TABLE_COMMENT AS DESCRIPTION
from information_schema.TABLES;

 

This query takes too long time for my MySQL server to process under the alotted timeout of 60 sec. 

 

idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLETABLESALLNULLNULLNULLNULLNULLOpen_full_table; Scanned all databases

 

It seems like the query that is done during the adding of the datasource to my gateway actually scans all the databases on the MySQL server for info instead of the provided one. 

I am wondering where I go from here. I can not connect to my datasource since the query takes too long and I always end up with a CancellationOrTimeoutError.

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@ThomasH-R

 

Are you sure you already specify the correct database name when creating the data source in Gateway? 

 

The information_schema is an instance level database which stores the information of all other databases in MySql. So it supposes to navigate to your specified database directly. 

 

If it keeps showing this error with database name specified, I suggest you create a support ticket.

 

Regards,

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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