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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
fbeuserie
Frequent Visitor

EG / is not a valid M connection string / MYSQL connection

 

Hi,

 

I'm unable to manually or schedule a refresh of my dataset.

- enterprise gateway is fine with all datasource created

- powerbi desktop doesn't have any problem with refresh/publish

- datasource type = mysql

 

when i check from the web gui the data source, they are all ok, mysql ones are "connected".

if I set a wrong password, they get failed, so i conclude there is communication between the EGW and the mysql server

 

when I schedule a manual refresh, i get this in the EGW logs:

  

DM.EnterpriseGateway Warning: 0 : 2017-01-17T01:47:18.8801363Z DM.EnterpriseGateway c000d213-e78a-45d0-938a-d94e477f334b 2d7bf9f5-a930-f4c9-cc3e-b50b02bb5804 MGTD 5c33f4a9-cdaf-e577-5b63-e258b7575e13 2BC93840 [DataMovement.PipeLine.MashupCommon] Connection string <pi>DSR="eyJwcm90b2NvbCI6Im15c3FsIiwiYXV0aGVudGljYXRpb24iOm51bGwsImFkZHJlc3MiOnsic2VydmVyIjoiYWx1LXByb2QtcmVwb3J0aW5nIiwiZGF0YWJhc2UiOiJyZXBvcnRpbmd2MiJ9LCJxdWVyeSI6bnVsbH0="</pi> is not a valid M connection string

 

if i decode the base64 string, i get "{"protocol":"mysql","authentication":null,"address":{"server":"alu-prod-reporting","database":"reportingv2"},"query":null}"

 

that's my MYSQL source defined in the PBIX. 

 

i'm probably missing something on the EGW side .... but don't know what.

 

thanks for your informations.

3 REPLIES 3
kdelmontjohnson
Regular Visitor

Were you able to resolve your issue? I'm experiencing a similar problem.

v-qiuyu-msft
Community Support
Community Support

Hi @fbeuserie,

 

From your description, it seems that the dataset connects to the MySQL database and on-premise SharePoint lists, right?

 

In your scenario, please verify all connection information for the MySQL data source and SharePoint lists are the same as in desktop. When you refresh the dataset, is there any error message throwing out?

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
fbeuserie
Frequent Visitor

i installed both 32 and 64 bits mysql drivers and now it seems to go further.

 

i've the same error (different base64 string) for all of my datasource.

 

FYI: aside the mysql one, i've 4 SHP lists datasource.

 

any idea ?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors