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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Karthik12
Post Patron
Post Patron

Connect Power BI with XAMPP Apache without installing the XAMPP

Hello Folks,

Our factory production line output monitoring system working in MYSql and develped in XAMPP apache phpmyadmin. it possible to connect my Power BI to MySQL without installing the MYSql workbench or XAMPP Apache in my laptop?

If Yes, can you know what are the things to do?

 

Thanks in advance

Have a nice time !!

3 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

All you need is the MySQL .Net driver 8.0.28 . (Don't install 8.0.29 , it has a bug)  No need for Workbench, Community installer or any other components.

View solution in original post

Anonymous
Not applicable

Hi @Karthik12 ,

 

Before you can connect to a MySQL database, you need to install MySQL Connector/Net 6.6.5 for Microsoft Windows on your computer. Select the driver that matches your Power BI Desktop installation (32-bit or 64-bit).

After installing the MySQL connector, refer to this blog to connect to MySQL in Power BI Desktop.

If the connection still fails in Power BI Desktop, please check that if you are able to connect to the MySQL database in MySQL workbench, ensure that MySQL workbench is installed in the same machine as Power BI Desktop.

 

Best Regards,

Jay

View solution in original post

Karthik12
Post Patron
Post Patron

Hi @Anonymous I can able to connect successfully after lot of troubles. Finally, I followed below steps and succeeded.

 

Hope you trying to connect same Xampp running in your organization's server.

 

Please follow these Steps :

1. Install MySQL connector in you PC 8.0.28

Karthik12_0-1678772041894.png

2. Give full privilleges in to your ID in Xampp application. (It can be done either by you by taking that server in remote connection if you have server access or IT admin)

Karthik12_2-1678772652752.png

 

 

3. Get data --> MySQL database 

 

Enter IP address of the server and database name

Karthik12_1-1678772177997.png

 

4. Import required tables into Power Bi

 

That's all. If error or doubt, please revert.

View solution in original post

11 REPLIES 11
Karthik12
Post Patron
Post Patron

Hi @Anonymous I can able to connect successfully after lot of troubles. Finally, I followed below steps and succeeded.

 

Hope you trying to connect same Xampp running in your organization's server.

 

Please follow these Steps :

1. Install MySQL connector in you PC 8.0.28

Karthik12_0-1678772041894.png

2. Give full privilleges in to your ID in Xampp application. (It can be done either by you by taking that server in remote connection if you have server access or IT admin)

Karthik12_2-1678772652752.png

 

 

3. Get data --> MySQL database 

 

Enter IP address of the server and database name

Karthik12_1-1678772177997.png

 

4. Import required tables into Power Bi

 

That's all. If error or doubt, please revert.

Anonymous
Not applicable

Hi Karthik,

Thanks for the quick response.Yes, we are trying to connect same Xampp running in our organization's server.

I have tried and getting the Encryption Error.

Also ,I have doubt regarding the Step 2 which user (Database user like root or Windows user).

 

Thanks,

Priya

MySQL-XAMPP.png

 

Hi @Anonymous  Hi, please press OK, it will through.

 

or uncheck the below option in file ->Options and setting --> datasource setting --> select current source -->edit --> uncheck

Karthik12_1-1678783971908.png

 

 

Anonymous
Not applicable

Thanks a lot @Karthik12 Was able to connect after they have provided me the Full privileges.

Appreciate your help!

Thanks @Anonymous 

 

Please accept these steps as a solution and provide kudos so that others can easily reach this solution for their queries. 

Anonymous
Not applicable

Hi @Karthik12 ,

I Tried to mark as Solution ,But this Query already has one solution .Due to which,I am not getting the option "Mark As Solution".

 

Thanks,

Priya

I marked it as a solution.  8.0.28 is safe (it avoids the bug in 8.0.29)  but in the meantime MySQL have rolled out new drivers that also seem to work.

Anonymous
Not applicable

Hi @Karthik12 ,

 

Before you can connect to a MySQL database, you need to install MySQL Connector/Net 6.6.5 for Microsoft Windows on your computer. Select the driver that matches your Power BI Desktop installation (32-bit or 64-bit).

After installing the MySQL connector, refer to this blog to connect to MySQL in Power BI Desktop.

If the connection still fails in Power BI Desktop, please check that if you are able to connect to the MySQL database in MySQL workbench, ensure that MySQL workbench is installed in the same machine as Power BI Desktop.

 

Best Regards,

Jay

lbendlin
Super User
Super User

All you need is the MySQL .Net driver 8.0.28 . (Don't install 8.0.29 , it has a bug)  No need for Workbench, Community installer or any other components.

Hi,

Thanks for your time to guide me. Yeah, I have installed above said connector and tried again.

It is asking server and data base. I have entered that too as per given data base from IT admin.

But, it shows an error

"Details: "An error happened while reading data from the provider: 'One or more errors occurred.'"

I have attached a screenshot of it too.

To solve this, Do I have make necessary changes in Xampp to allow any remote connection ?

or, anything else?

Thanks in advance for the support !Error2.png

 

Anonymous
Not applicable

Hi @Karthik12 ,

Where you able to connect,Because i am also going through the same.

 

Thanks,

Priya

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.