Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Error using ODBC data source

I set up an ODBC data source connecting to a MySQL db. Previously this worked fine. I just tried creating a new report, using the same data source and now I get an error after I select the two tables I want:


Failed to save modifications to the server. OLE DB or ODBC Error 22018 MySQL ODBC 5.3 (a)
The current operation was cancelled because another operation in the transaction failed.


I have the latest version of Power BI Desktop on Windows 7.



Community Support
Community Support

Re: Error using ODBC data source

Hi @ginnibobinni,


Since I can't reprodue your issue, can you share some detail content of your issue?


If you directly get data from mysql, does it works? 



BTW, based on research, the 22018 error is related to encode, you can also check your database if any unicode string stored in your database.



Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Community Summit Australia – Join Online!

Community Summit Australia – Join Online!

Be a part of the leading Microsoft Business Applications digital event, curated for the APAC community.

Top Solution Authors