Skip to content

Commit d321f4b

Browse files
committed
fixed fencing in one spot and a couple of spelling errors.
1 parent 5b49aa5 commit d321f4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/postgresql/flexible-server/connect-python.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,15 @@ In this section, you add authentication code to your working directory and perfo
125125

126126
db_uri = f"postgresql://{dbuser}:{password}@{dbhost}/{dbname}?sslmode={sslmode}"
127127
return db_uri
128-
```
128+
```
129129

130130
1. Get database connection information.
131131

132132
1. In the [Azure portal](https://portal.azure.com/), search for and select your Azure Database for PostgreSQL flexible server name.
133133
1. On the server's **Overview** page, copy the fully qualified **Server name**. The fully qualified **Server name** is always of the form *\<my-server-name>.postgres.database.azure.com*.
134134
1. On the left menu, under **Security**, select **Authentication**. Make sure your account is listed under **Microsoft Entra Admins**. If it isn't, complete the steps in [Configure Microsoft Entra integration on the server (passwordless only)](#configure-microsoft-entra-integration-on-the-server-passwordless-only).
135135

136-
1. Set enviornment variables for the connection URI elements:
136+
1. Set environment variables for the connection URI elements:
137137

138138
### [Windows](#tab/cmd)
139139

@@ -158,7 +158,7 @@ In this section, you add authentication code to your working directory and perfo
158158
Replace the following placeholder values in the commands:
159159

160160
* `<server-name>` with the value you copied from the Azure portal.
161-
* `<username>` with your Azure user name; for example. `john@contoso.com`.
161+
* `<username>` with your Azure user name; for example,. `john@contoso.com`.
162162
* `<database-name>` with the name of your Azure Database for PostgreSQL flexible server database. A default database named *postgres* was automatically created when you created your server. You can use that database or create a new database by using SQL commands.
163163

164164
1. Sign in to Azure on your workstation. You can sign in using the Azure CLI, Azure PowerShell, or Azure Developer CLI. For example, to sign in via the Azure CLI, enter this command:
@@ -200,7 +200,7 @@ In this section, you add authentication code to your working directory and perfo
200200

201201
<!--![Azure Database for PostgreSQL server name](./media/connect-python/1-connection-string.png)-->
202202

203-
1. Set enviornment variables for the connection URI elements:
203+
1. Set environment variables for the connection URI elements:
204204

205205
### [Windows](#tab/cmd)
206206

0 commit comments

Comments
 (0)