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

    Become a contributor for community

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

    DigitalOcean Documentation

    Full documentation for every DigitalOcean product.

    Resources for startups and SMBs

    The Wave has everything you need to know about building a business, from raising funding to marketing your product.

    Get our newsletter

    Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

    New accounts only. By submitting your email you agree to our Privacy Policy

    The developer cloud

    Scale up as you grow — whether you're running one virtual machine or ten thousand.

    Get started for free

    Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

    *This promotional offer applies to new accounts only.