Question

Trouble connecting Excel Power Query to my Database (MySQL)

Hi. Im tring to download the data of my MYSQL database. I want to import the data to my Excel sheets. I dowloades ODBC 64 bits, and i can stablish connection. I can see all the tables of my database, buy when y double click to import the data, I recieve this msg

DataSource.Error: ODBC: An error occurred but no ODBC error information was available. Detalles: DataSourceKind=Odbc DataSourcePath=dsn=informental OdbcErrors=[Table]

Whats wrong? How can I fix this error and import my data to my Excel? Thanks


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
March 21, 2023
Pinned Answer

Hey all,

After some investigation with @informentalm, the solution was to add the ODBC connection in the “User DNS” rather than the “System DNS” tab.

KFSys
Site Moderator
Site Moderator badge
March 6, 2023

Hey @informental,

First make sure you have added your IP to your trusted sources:

https://docs.digitalocean.com/products/databases/mysql/how-to/secure/#firewalls

Here is the article on how to usually connect and from where to get your crednetials:

https://docs.digitalocean.com/products/databases/mysql/how-to/connect/

Lastly, can you post your connection string(editing the sensitive data) that you are using to connect to your Database?

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This comment has been deleted