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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
chenishere
New Member

How to connect database to Power Bi using IP address?

Hi, im using mysql workbench and im able to connect to the database using IP as shown below 

Capture.PNG

 

but i dont know how to do it in Power BI,  it doesnt work when I try to connect it this way 

Capture1.PNG

 

Kindly help me. thanks 

3 REPLIES 3
v-yulgu-msft
Employee
Employee

Hi @chenishere,

 

Similar to SQL Server, the connection dialog for MySQL Database also allows users to enter Server Name or IP address, as shown in below image:

24B74BAE.PNG

 

Please be aware that before you can connect to a MySQL database, you have to install MySQL Connector/Net 6.6.5 for Microsoft Windows. Select the driver that matches your Power BI Desktop installation (32-bit or 64-bit).

 

To correctly connect to MySQL DB from Power BI desktop and troubleshoot the error you encountered, please see this blog:

Power BI Tips for Working with MySQL

 

Best 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.
mgmeyer
Power BI Team
Power BI Team

If your database is MySQL then your using the wrong connection type, the one you have below is for SQL Server. In Power BI Desktop on the Get Data dialog you should see an option for a MySQL Database connection, try that as let me know if that works.

thanks for the reply. I tried but it showed this error

 

Capture2.PNG 

 

isnt there like an option to input IP address, database name, username and password? 

pls help 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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