We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Upon the recent update, I have been unable to connect to our MySQL data sources. I have been receiving the following error message: "An error happened while reading data from the provider: 'Object reference not set to an instance of an object.'"
Has anyone else encountered this error and were you able to find a solution?
Thank you for any advice you may be able to offer that may help me resolve this issue.
-Grant
Solved! Go to Solution.
Hi @Anonymous,
In your scenario, are you able to connect to the MySQL database in MySQL workbench? Please ensure that MySQL workbench is installed in the same machine as Power BI Desktop.
If the connection is successful in MySQL workbench, use same connection string and make sure that you use Database credential in Power BI Desktop to connect to the MySQL database, and you can review this blog about connecting to MySQL in Power BI Desktop.
Thanks,
Lydia Zhang
Using a power bi desktop or service?
Do the following:
- Check the properties connection..
- Check if the MySQL port is open
I am using Power BI Desktop.
Hi @Anonymous,
In your scenario, are you able to connect to the MySQL database in MySQL workbench? Please ensure that MySQL workbench is installed in the same machine as Power BI Desktop.
If the connection is successful in MySQL workbench, use same connection string and make sure that you use Database credential in Power BI Desktop to connect to the MySQL database, and you can review this blog about connecting to MySQL in Power BI Desktop.
Thanks,
Lydia Zhang
After clearing the previous permission and reconnecting to the database everything is working smoothly.
Thank you for the solution!
Upon the recent update, I have been unable to connect to our MySQL data sources. I have been receiving the following error message: "An error happened while reading data from the provider: 'Object reference not set to an instance of an object.'"
Has anyone else encountered this error and were you able to find a solution?
Thank you for any advice you may be able to offer that may help me resolve this issue.
-Grant
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 7 | |
| 7 | |
| 5 |