Skip to content

Commit 7afa172

Browse files
authored
Update connect-with-powerbi-desktop.md
1 parent 1249e61 commit 7afa172

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

articles/mysql/flexible-server/connect-with-powerbi-desktop.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,21 @@ Get the connection information needed to connect to the Azure Database for MySQL
3434
1. Sign in to the [Azure portal](https://portal.azure.com/).
3535
2. From the left-hand menu in Azure portal, select **All resources**, and then search for the server you have created (such as **mydemoserver**).
3636
3. Select the server name.
37-
4. From the server's **Overview** panel, make a note of the **Server name** and **Server admin login name**. If you forget your password, you can also reset the password from this panel.
38-
5. Go to **Databases** page to find the database you want to connect to. Power BI desktop supports adding a connection to a single database and hence providing a database name is required for importing data.
37+
4. From the server's **Overview** panel, Select **Power BI** setting from the left-hand menu.
38+
:::image type="content" source="./media/connect-with-powerbi-desktop/use-azure-db-for-mysql-with-power-bi-desktop.png" alt-text="Screenshot of viewing Power BI in Azure Portal to connect to the database.":::
39+
5. Select a database from the drop down, for example *contactsdb* and then select **Get started**.
40+
6. Download the Power BI desktop file *contactsdb.pbids*.
41+
:::image type="content" source="./media/connect-with-powerbi-desktop/use-azure-db-for-mysql-with-power-bi-desktop.png" alt-text="Screenshot of viewing Power BI in Azure Portal to connect to the database.":::
42+
7. Open the file in Power Bi desktop.
43+
8. Switch to **Database** tab to provide the username and password for your database server. **Note Windows authentication is not supported for Azure database for MySQL Flexible Server.**
44+
:::image type="content" source="./media/connect-with-powerbi-desktop/enter-credentials.png" alt-text="Screenshot of entering credentials to connect with MySQL database.":::
45+
9. In **Navigator**, select the data you require, then either load or transform the data.
46+
47+
:::image type="content" source="./media/connect-with-powerbi-desktop/navigator.png" alt-text="Screenshot of navigator to view MySQL tables.":::
3948

40-
## Connect to MySQL database from Power Query Desktop
49+
## Connect to MySQL database from Power Query Desktop manually
4150

42-
To make the connection, take the following steps:
51+
You can connect to Azure database for MySQL Flexible server with Power BI desktop directly. To make the connection, take the following steps:
4352

4453
1. Select the **MySQL database** option in the connector selection.
4554

@@ -67,13 +76,13 @@ To make the connection, take the following steps:
6776

6877
2. In the **MySQL database** dialog, provide the name of the server and database.
6978

70-
:::image type="content" source="./media/connect-with-powerbi-desktop/mysql-advanced-options.png" alt-text="Screenshot of MySQL advanced options.":::
79+
:::image type="content" source="./media/connect-with-powerbi-desktop/power-query-service-signin.png" alt-text="Screenshot of MySQL connection with power query online.":::
7180

72-
3. If necessary, include the name of your on-premises data gateway.
81+
**Note that data gateway is not needed for Azure database for MySQL Flexible Server.**
7382

74-
4. Select the **Basic** authentication kind and input your MySQL credentials in the **Username** and **Password** boxes.
83+
3. Select the **Basic** authentication kind and input your MySQL credentials in the **Username** and **Password** boxes.
7584

76-
5. If your connection isn't encrypted, clear **Use Encrypted Connection**.
85+
4. If your connection isn't encrypted, clear **Use Encrypted Connection**.
7786

7887
5. Select **Next** to connect to the database.
7988

0 commit comments

Comments
 (0)