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/spring-apps/quickstart-integrate-azure-database-mysql.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,10 @@ An Azure account with an active subscription. [Create an account for free](https
27
27
1. Create an Azure Database for MySQL flexible server using the [az mysql flexible-server create](/cli/azure/mysql/flexible-server#az-mysql-flexible-server-create) command. Replace the placeholders `<database-name>`, `<resource-group-name>`, `<MySQL-flexible-server-name>`, `<admin-username>`, and `<admin-password>` with a name for your new database, the name of your resource group, a name for your new server, and an admin username and password.
28
28
29
29
```azurecli-interactive
30
-
az mysql flexible-server create --database-name <database-name> \
30
+
az mysql flexible-server create \
31
31
--resource-group <resource-group-name> \
32
32
--name <MySQL-flexible-server-name> \
33
+
--database-name <database-name> \
33
34
--admin-user <admin-username> \
34
35
--admin-password <admin-password>
35
36
```
@@ -54,7 +55,7 @@ Use [Service Connector](../service-connector/overview.md) to connect the app hos
54
55
1. If you're using Service Connector for the first time, start by running the command [az provider register](/cli/azure/provider#az-provider-register) to register the Service Connector resource provider.
55
56
56
57
```azurecli-interactive
57
-
az provider register -n Microsoft.ServiceLinker
58
+
az provider register --namespace Microsoft.ServiceLinker
58
59
```
59
60
60
61
1. Run the `az spring connection create` command to create a service connection between Azure Spring Apps and the Azure MySQL database. Replace the placeholders below with your own information.
@@ -120,10 +121,11 @@ Use [Service Connector](../service-connector/overview.md) to connect the app hos
120
121
Run the `az spring connection validate` command to show the status of the connection between Azure Spring Apps and the Azure MySQL database. Replace the placeholders below with your own information.
121
122
122
123
```azurecli-interactive
123
-
az spring connection validate --connection <connection-name> \
0 commit comments