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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ckkyoung
Frequent Visitor

Connect mysql database problem

I have install powerbi and mysql connector and trying to connect mysql database , however , I found that the connection is not work , I also checked and found that no connection request between powerbi and mysql database that mean powerbi do not trying to request connect , I have the below questions

powerbi-err1.jpgpowerbi-err2.jpg

( Attached the login screen for the login )

 

1) powerbi have any log that can be used to trace ?

2) I use mysql connector , which port will be used to connect ? 3306 ?

3) after installed my connector , any configuration need to make in power bi ?

4) even I input any server ip address , any database , it still pos "We couldn't authenticate with the credentials provided, please try again.

 

Thanks a lot

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @ckkyoung,

#1, These operations seem not records into power bi trace logs, I think you can check on your database side to review these sessions or activity logs.

MySQL :: MySQL 5.7 Reference Manual :: 5.4 MySQL Server Logs

#2, You can refer to the following link to check which port your database works on:

unix - How to check what port mysql is running on - Server Fault

#3, I think you need to check the 'data provider' version and current device setting to confirm if you used the correct version and configure the firewall and ports settings that the data connection required.

Power Query MySQL database connector | Microsoft Docs

#4, Perhaps you can try to use the UDL test to verify the data source connections to confirm if your device is availed to link to the database. (if your database are host in the internal network, please enable the VPN or proxy on your device first)

How to perform a UDL test to check the SQL Server Connectivity. (ibm.com)

Notice: please not attach any sensitive data in your post.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @ckkyoung,

#1, These operations seem not records into power bi trace logs, I think you can check on your database side to review these sessions or activity logs.

MySQL :: MySQL 5.7 Reference Manual :: 5.4 MySQL Server Logs

#2, You can refer to the following link to check which port your database works on:

unix - How to check what port mysql is running on - Server Fault

#3, I think you need to check the 'data provider' version and current device setting to confirm if you used the correct version and configure the firewall and ports settings that the data connection required.

Power Query MySQL database connector | Microsoft Docs

#4, Perhaps you can try to use the UDL test to verify the data source connections to confirm if your device is availed to link to the database. (if your database are host in the internal network, please enable the VPN or proxy on your device first)

How to perform a UDL test to check the SQL Server Connectivity. (ibm.com)

Notice: please not attach any sensitive data in your post.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.