Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello community,
I have installed a MySQL database on my computer, which I access with Power BI Desktop. I use the MySQL Connector/ODBC for this. As a MySQL user I use the root administrator account. The connection between MySQL and Power BI Desktop works very well.
MySQL Connector ODBC on my computer
Here is the Source step in Power Query:
= Odbc.DataSource("dsn=mysql2", [HierarchicalNavigation=true])
I also installed an on-premesis gateway on the machine with the MySQL database.
The gateway version is 3000.162.9 (February 2023).
However, when I upload the report to the Power BI service and register the data source in the gateway, I get this error message:
The data source cannot be created.
Unable to connect to the data source. Either the data source cannot be accessed, the connection timed out, or the credentials for the data source are invalid. Check the data source configuration and contact the data source administrator to troubleshoot.
Details:
[My gateway name]: ODBC: ERROR [IM002] [Microsoft][ODBC Driver Manager] The data source name was not found and no default driver was specified
The credentials are definitely correct. That can not be it.
Here is the complete configuration of the new data source (sorry, it's in German):
The configuration of the new data source
What am I doing wrong? I hope someone can help.
Greetings from Germany!
I also installed an on-premesis gateway on the machine with the MySQL database.
that is generally not recommended. They will fight for the machine's resources.
Check the firewall settings on that machine and open the port. Make sure you use 64 bit ODBC. Consider using the .Net connector instead.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
30 | |
26 | |
21 | |
20 |
User | Count |
---|---|
63 | |
48 | |
24 | |
24 | |
17 |