You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/connect-with-powerbi-desktop.md
+17-8Lines changed: 17 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,21 @@ Get the connection information needed to connect to the Azure Database for MySQL
34
34
1. Sign in to the [Azure portal](https://portal.azure.com/).
35
35
2. From the left-hand menu in Azure portal, select **All resources**, and then search for the server you have created (such as **mydemoserver**).
36
36
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.":::
39
48
40
-
## Connect to MySQL database from Power Query Desktop
49
+
## Connect to MySQL database from Power Query Desktop manually
41
50
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:
43
52
44
53
1. Select the **MySQL database** option in the connector selection.
45
54
@@ -67,13 +76,13 @@ To make the connection, take the following steps:
67
76
68
77
2. In the **MySQL database** dialog, provide the name of the server and database.
69
78
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.":::
71
80
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.**
73
82
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.
75
84
76
-
5. If your connection isn't encrypted, clear **Use Encrypted Connection**.
85
+
4. If your connection isn't encrypted, clear **Use Encrypted Connection**.
0 commit comments