Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mayankkapoor85
Frequent Visitor

Cannot connect to local MySQL database.

hi community,

 

I have a MYSQL database installed on my system along with Power BI. I have been trying to connect the two together. Though it keeps asking me to install additional components before it can be used. I have installed the latest connector for 64-bit machine.

Still, it is not working. I am desperate for any help in connecting to the database. I am interning and power BI is a tool I am using, though I am having a serious issue accessing the database. please find below the image for the error

 

2017-07-05 (1).png

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @mayankkapoor85,

 

From the error message, it looks like you didn't install the correct MySQL connector successfully. You can download the ODBC Driver for MySQL(connector/ODBC) from below link, this connector worked well in my environment.

MySQL Connectors

 

Also, here is a similar thread for your reference: Cannot connect to local MySQL database

 

Regards,
Yuliana Gu

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

View solution in original post

3 REPLIES 3
rach141
New Member

Did you find the solution. Please help. 

v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @mayankkapoor85,

 

From the error message, it looks like you didn't install the correct MySQL connector successfully. You can download the ODBC Driver for MySQL(connector/ODBC) from below link, this connector worked well in my environment.

MySQL Connectors

 

Also, here is a similar thread for your reference: Cannot connect to local MySQL database

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Chihiro
Solution Sage
Solution Sage

Check your connector version/type and also ensure you install it via MSI option.

 

Below should be the one you need.

 

mysql-connector-net-6.6.5.msi

https://dev.mysql.com/downloads/file/?id=412152

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.