![]() |
VOOZH | about |
The CData Power BI Connector for MySQL seamlessly integrates with the tools and wizards in Power BI, including the real-time data workflows on PowerBI.com. Follow the steps below to pull data directly into DataFlows on PowerBI.com and use the Power BI Gateway to configure automatic refresh.
Installing the Power BI Connector creates a DSN (data source name) called CData Power BI MySQL. This the name of the DSN that Power BI uses to request a connection to the data source. Configure the DSN by filling in the required connection properties.
You can use the Microsoft ODBC Data Source Administrator to create a new DSN or configure (and rename) an existing DSN: From the Start menu, enter "ODBC Data Sources." Ensure that you run the version of the ODBC Administrator that corresponds to the bitness of your Power BI Desktop installation (32-bit or 64-bit).
The CData Provider supports connecting to on-premises and cloud-hosted versions of MySQL such as Amazon RDS for MySQL, Google Cloud SQL for MySQL, Azure Database for MySQL, or Oracle MySQL HeatWave. The Server and Port properties must be set to a MySQL server. If IntegratedSecurity is set to false, then User and Password must be set to valid user credentials. Optionally, Database can be set to connect to a specific database. If not set, tables from all databases will be returned.
You can use SSH (Secure Shell) to authenticate with MySQL, whether the instance is hosted on-premises or in supported cloud environments. SSH authentication ensures that access is encrypted (as compared to direct network connections).
To connect to MySQL via SSH in Password Auth mode, set the following connection properties:
To connect to MySQL via SSH in Password Auth mode, set the following connection properties:
With the data source configured, follow the steps below to load data from MySQL tables into your DataFlow.
Follow the steps below to configure the gateway on your machine:
In the Connectors step, choose a folder where the gateway will look for the CData Power BI Connector. This article uses C:\Users\PBIEgwService\Documents\Power BI Desktop\Custom Connectors\. Copy the .pqx files for the CData Connector (found in C:\Users\USERNAME\Documents\Power BI Desktop\Custom Connectors\) to the folder you configured.
NOTE: The account configured for the service (NT SERVICE\PBIEgwService) needs to be able to access the folder chosen for the gateway. If needed, you can change the service account in the Service Settings section of the gateway installer.
Refresh your dataflow to have the most up to date data.
๐ Scheduled refresh of Dataflow.
At this point, you will have a Dataflow built on top of live MySQL data. Learn more about the CData Power BI Connectors for MySQL and download a free trial from the CData Power BI Connector for MySQL page. Let our Support Team know if you have any questions.
Download a free trial of the MySQL Power BI Connector to get started:
Download NowLearn more:
๐ MySQL IconThe fastest and easiest way to connect Power BI to MySQL data. Includes comprehensive high-performance data access, real-time integration, extensive metadata discovery, and robust SQL-92 support.