Skip to content

Commit 2959c54

Browse files
authored
Merge pull request #107941 from lanicolas/patch-25
Align with bash design guide
2 parents 835e534 + a713078 commit 2959c54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/mysql/flexible-server/scripts/sample-cli-create-connect-private-access.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Use the following steps to test connectivity to the MySQL server from the VM by
3737
1. To SSH into the VM, start by getting the public IP address and then use MySQL tools to connect
3838

3939
```bash
40-
publicIp=$(az vm list-ip-addresses --resource-group $resourceGroup --name $vm --query "[].virtualMachine.network.publicIpAddresses[0].ipAddress" --output tsv)
40+
PUBLIC_IP=$(az vm list-ip-addresses --resource-group $RESOURCE_GROUP --name $VM --query "[].virtualMachine.network.publicIpAddresses[0].ipAddress" --output tsv)
4141

42-
ssh azureuser@$publicIp
42+
ssh azureuser@$PUBLIC_IP
4343
```
4444

4545
1. Download MySQL tools and connect to the server. Substitute <server_name> and <admin_user> with your values.
@@ -58,7 +58,7 @@ Use the following steps to test connectivity to the MySQL server from the VM by
5858
[!INCLUDE [cli-clean-up-resources.md](../../../../includes/cli-clean-up-resources.md)]
5959

6060
```azurecli
61-
az group delete --name $resourceGroup
61+
az group delete --name $RESOURCE_GROUP
6262
```
6363

6464
## Sample reference

0 commit comments

Comments
 (0)