Skip to content

Commit e302003

Browse files
Apply suggestions from code review
Co-authored-by: Karl Erickson <[email protected]>
1 parent ead121a commit e302003

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/spring-apps/quickstart-integrate-azure-database-mysql.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ An Azure account with an active subscription. [Create an account for free](https
2727
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.
2828

2929
```azurecli-interactive
30-
az mysql flexible-server create --database-name <database-name> \
30+
az mysql flexible-server create \
3131
--resource-group <resource-group-name> \
3232
--name <MySQL-flexible-server-name> \
33+
--database-name <database-name> \
3334
--admin-user <admin-username> \
3435
--admin-password <admin-password>
3536
```
@@ -54,7 +55,7 @@ Use [Service Connector](../service-connector/overview.md) to connect the app hos
5455
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.
5556

5657
```azurecli-interactive
57-
az provider register -n Microsoft.ServiceLinker
58+
az provider register --namespace Microsoft.ServiceLinker
5859
```
5960
6061
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
120121
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.
121122
122123
```azurecli-interactive
123-
az spring connection validate --connection <connection-name> \
124+
az spring connection validate
124125
--resource-group <Azure-Spring-Apps-resource-group-name> \
125126
--service <Azure-Spring-Apps-resource-name> \
126-
--app <app-name>
127+
--app <app-name> \
128+
--connection <connection-name>
127129
```
128130

129131
The following output is displayed:

0 commit comments

Comments
 (0)