File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/mysql/flexible-server/scripts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ Use the following steps to test connectivity to the MySQL server from the VM by
37
37
1 . To SSH into the VM, start by getting the public IP address and then use MySQL tools to connect
38
38
39
39
``` 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)
41
41
42
- ssh azureuser@$publicIp
42
+ ssh azureuser@$PUBLIC_IP
43
43
```
44
44
45
45
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
58
58
[ !INCLUDE [ cli-clean-up-resources.md] ( ../../../../includes/cli-clean-up-resources.md )]
59
59
60
60
``` azurecli
61
- az group delete --name $resourceGroup
61
+ az group delete --name $RESOURCE_GROUP
62
62
```
63
63
64
64
## Sample reference
You can’t perform that action at this time.
0 commit comments