Power Query Error when connecting to mySQL DB

D4WNO

Board Regular
Joined
Mar 6, 2012
Messages
67
Hi all,

This is really new to me but can't find my situation online. I have connected to a database firstly by setting it up in ODBC Data Source Administrator and when I test it it says "Connection Successful".

Now when I try to "see" it with Excel., I get the below error message in the Query Editor box:

"DataSource.Error: MySQL: Unable to connect to any of the specified MySQL hosts.
Details:
Message=Unable to connect to any of the specified MySQL hosts.
ErrorCode=-2147467259"

I really can't think what could be causing this and it's causing me huge issues. Does anyone have any idea please?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
My gut... this isn't a "power query" issue, so much as... you just can't connect to the database, period. DNS resolution issue, not accept tcp/ip connections, whatever. Can you query it with some other tool before you try power query?
 
Upvote 0

Forum statistics

Threads
1,224,045
Messages
6,176,066
Members
452,703
Latest member
kinnowboxes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top