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


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?

This comment has been deleted

    Try DigitalOcean for free

    Click below to sign up and get $200 of credit to try our products over 60 days!

    Sign up

    Get our biweekly newsletter

    Sign up for Infrastructure as a Newsletter.

    Hollie's Hub for Good

    Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

    Become a contributor

    Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

    Welcome to the developer cloud

    DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

    Learn more
    DigitalOcean Cloud Control Panel