Skip to content

Commit 7bea10e

Browse files
StefanStefan
authored andcommitted
cli update
1 parent 1e6626b commit 7bea10e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

articles/postgresql/flexible-server/connect-azure-cli.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This quickstart demonstrates how to connect to an Azure Database for PostgreSQL
2424
## Prerequisites
2525
- An Azure account with an active subscription. If you don't have one, [get a free trial](https://azure.microsoft.com/free/).
2626
- Install [Azure CLI](/cli/azure/install-azure-cli) latest version.
27-
- Log in using Azure CLI with `az login` command.
27+
- Sign in using Azure CLI with `az login` command.
2828
- (optional) Turn on an experimental parameter persistence with `az config param-persist on`. Parameter persistence helps you use local context without having to repeat numerous arguments like resource group or location.
2929

3030
## Create Azure Database for PostgreSQL flexible server instance
@@ -61,10 +61,9 @@ Successfully connected to <servername>.
6161
```
6262

6363
If the connection failed, try these solutions:
64-
- Check if port 5432 is open on your client machine.
6564
- if your server administrator user name and password are correct
66-
- if you have configured firewall rule for your client machine
67-
- if you've configured your server with private access in virtual networking, make sure your client machine is in the same virtual network.
65+
- if you configured firewall rule for your client machine
66+
- if your server is configured with private access with virtual networking, make sure your client machine is in the same virtual network.
6867

6968
## Run multiple queries using interactive mode
7069
You can run multiple queries using the **interactive** mode. To enable interactive mode, run the following command.
@@ -82,7 +81,7 @@ az postgres flexible-server connect \
8281
-n postgresdemoserver -u dbuser -p "dbpassword" -d flexibleserverdb --interactive
8382
```
8483

85-
You see the **psql** shell experience as shown below:
84+
You see the **psql** shell experience as shown here:
8685

8786
```bash
8887
Password for starchylapwing9:
@@ -116,7 +115,7 @@ az postgres flexible-server execute \
116115
-q "SELECT 1" --output table
117116
```
118117

119-
You see an output as shown below:
118+
You see an output as shown here:
120119

121120
```output
122121
Successfully connected to server372060240.
@@ -144,7 +143,7 @@ az postgres flexible-server execute \
144143
-f "./test.sql"
145144
```
146145

147-
You see an output as shown below:
146+
You see an output as shown here:
148147

149148
```output
150149
Command group 'postgres flexible-server' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

0 commit comments

Comments
 (0)