Connecting MySQL to Power BI

Connecting MySQL to Power BI

Before we detail the step-by-step process, let's take a brief journey into the world of MySQL and Power BI. These two tools have revolutionized the way we derive meaning from data. Let's understand the reasons why you might want to connect them.

Introduction to Power BI and MySQL

Power BI is a suite of business analytics tools developed by Microsoft that allows you to visualize data and share insights across the organization. It transforms large volumes of data into interactive reports and dashboards, providing a clearer and more detailed view of business operations.

MySQL , on the other hand, is one of the world's most popular database management systems (DBMS). It is an open-source relational database widely used for web applications and other applications that require a persistent database. Its popularity is due to its reliability, performance, and ease of use.

Want to know the advantages of connecting Power BI to MySQL? We've brought some reasons for you, come check it out!

In-depth Analysis: By connecting Power BI to MySQL, you can turn your raw data into valuable insights by visualizing them in ways that are more understandable and actionable.

Real-Time Updates: Once connected, you can set up Power BI to automatically update your reports and dashboards, ensuring you always have the latest information at your disposal.

Seamless Integration: Both tools are widely used and well-documented, making integration between them relatively simple and straightforward.

Flexibility: With Power BI, you can customize your reports and dashboards to meet your specific needs, while MySQL offers the flexibility to store and manage your data as you wish.

Security: Both Power BI and MySQL have robust security features. By connecting them, you can ensure that your data is transmitted and accessed securely.

Collaboration: With Power BI, it's easy to share reports and insights with colleagues, allowing for more collaborative and informed decision-making.

Now that we have a clear understanding of what each platform offers, let's go to the step-by-step!

Centralizing Data in MySQL with Kondado

1. Registering Your MySQL as a Destination in Kondado: First, you need to login to Kondado and register your database as a destination to receive data from your tools. To register your MySQL as a destination, follow the step-by-step shown in our documentation.

2. Creating Your Data Sources: Data sources are the sources or tools from which you want to extract data to centralize in your data repository. To register your data sources in Kondado, visit our wiki and follow the respective step-by-step instructions.

3. Creating your first integration: Now that your data destination and data sources are registered, you can create your first integration by following the platform onboarding steps.

Connecting MySQL to Power BI

Before accessing Power BI, you must download the Oracle MySQL Connector/NET My SQL, this component will enable the Power BI connector with MySQL to function correctly. For this, visit https://downloads.mysql.com/archives/c-net/ and select version 8.027 and click on “Download”.

foto 1.png

Open Power BI Desktop on your computer and on the Power BI home screen, click on “Get Data”.

foto 2.png

In the window that opens, you can choose to go to the search section, on the upper left side, and look for “MySQL” or select “Database” and then “MySQL”. The first option is shown in the image.

foto 3.png

Click on “Connect”.

foto 4.png

Enter the connection details and then click on “OK”.

foto 5.png

In the “Server” field, enter the MySQL server address. If you are using a specific port, enter it after the server address, separated by a comma (for example: 189.168.222.188,3306).

In the “Database” field, enter the name of the database you want to connect to.

In the authentication window, to establish the connection, you can choose between clicking on “Windows” and then on “Use alternative credentials” or clicking on “Database”, located below the “Windows” option.

Enter your MySQL username and password. After this, click on “Connect”.

foto 6.png

The image above shows the first option.

Navigate and select the data. Once connected, you will see a list of all the tables available in the selected database.

foto 7.png

Select the tables or views you want to import and click on “Load”.

Transform and model your data (if necessary).

Done! Your MySQL database is now integrated with Power BI, allowing you to explore, analyze, and visualize your data in a more efficient and intuitive way.

Connect MySQL to Power BI with Kondado

Centralize source data in MySQL using Kondado, then connect MySQL to Power BI to build interactive dashboards.

1
Register MySQL as a destination in Kondado

Log in to Kondado and add your MySQL database as a destination, providing host, port, credentials, and database name.

2
Create your data sources in Kondado

Configure the sources you want to extract from — ads platforms, CRM, e-commerce, ERPs — so Kondado can replicate them into MySQL at the frequency you choose.

3
Build your first pipeline into MySQL

Create a pipeline from each source to MySQL. Choose incremental or full replication based on what the source connector supports.

4
Install the MySQL Connector/NET

Download and install Oracle MySQL Connector/NET version 8.0.27 from the official MySQL website so Power BI Desktop can talk to MySQL.

5
Connect Power BI Desktop to MySQL

In Power BI, click Get Data > MySQL database, enter the server and database (append ,port if you don't use 3306), choose Windows or Database authentication, and load the tables you need.

6
Build and share your dashboards

Model the data, create the visuals you need, and publish the report to Power BI Service. Set scheduled refreshes so dashboards reflect the latest data Kondado has loaded into MySQL.

Frequently asked questions

Why connect MySQL to Power BI?
Connecting MySQL to Power BI lets you turn raw database tables into visual, interactive reports. You can refresh dashboards at the frequency you choose, share them across the organization, and combine MySQL data with other sources using Kondado.
Do I need to install anything before connecting Power BI to MySQL?
Yes. Download and install the Oracle MySQL Connector/NET (version 8.0.27 is recommended) from the official MySQL website. Power BI uses this component to talk to your MySQL instance.
How does Kondado help with MySQL and Power BI?
Kondado centralizes data from 80+ sources into your MySQL database, giving you a single, consistent dataset to feed Power BI. You configure pipelines once and they replicate at the frequency you choose.
What authentication methods does Power BI support for MySQL connections?
Power BI offers Windows authentication with alternative credentials, or direct database authentication where you enter the MySQL username and password explicitly. Pick the option that matches your network and security setup.
Can I use a custom port when connecting Power BI to MySQL?
Yes. In the server field, append the port after a comma (for example 189.168.222.188,3306). This is useful when your MySQL instance isn't on the default port 3306.
What can I do once MySQL data is loaded in Power BI?
Build dashboards, calculated measures, and shared reports. Combine MySQL data with other Kondado-loaded sources for unified analytics, and explore other supported destinations if you outgrow MySQL.

Written by·Published 2023-11-10·Updated 2026-04-26