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

Get data from MySQL tables

Hello Team,

I have connected to mysql db from local host. Server : localhost:3306, db: mysql).

But, after got the data, I am viewing only tables like this (.frm file from mysql folder).

detected power bi.png

C:/Xampp/mysql files looks like below 

mysql tables.png

Our folder structure in C drives like this

 

folder structure.png

 

But our IT admin told, database stored in  htdocs folder and it is in the format of .sql .

When open that file, it looks like below

actaul file.png

 

If I given database name as "htdocs" , but ended with "No such data base message"

 

Can you help me, how to connect this table (.sql type) in my power bi?

which one I need to input in the database space?

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Karthik12 , Does the current user you are using in power bi have access to that database ?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Karthik12 , Does the current user you are using in power bi have access to that database ?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Hi, Thanks for the reply. Yes, I don't have access to that database. I got access through "privilege" option in the db and now it is working fine for me. 

But, When ever any data get added in that server, How can referesh my page automatically?

I seen in the modelling--> change detection is disabled by default.   

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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