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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.