Skip to content

Commit f499957

Browse files
Merge pull request #284099 from PatAltimore/patricka-sfi
Edge SFI changes
2 parents ec56802 + f9226b9 commit f499957

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/iot-edge/tutorial-store-data-sql-server.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ You need to select which architecture you're targeting with each solution, becau
197197
}
198198
```
199199

200-
6. In line 35, replace the string **\<sql connection string\>** with the following string. The **Data Source** property references the SQL Server container, which doesn't exist yet. You will create it with the name **SQL** in the next section.
200+
6. In line 35, replace the string **\<sql connection string\>** with the following string. The **Data Source** property references the SQL Server container, which doesn't exist yet. You will create it with the name **SQL** in the next section. Choose a strong password for the *Password* keyword.
201201

202202
```csharp
203-
Data Source=tcp:sql,1433;Initial Catalog=MeasurementsDB;User Id=SA;Password=Strong!Passw0rd;TrustServerCertificate=False;Connection Timeout=30;
203+
Data Source=tcp:sql,1433;Initial Catalog=MeasurementsDB;User Id=SA;Password=<YOUR-STRONG-PASSWORD>;TrustServerCertificate=False;Connection Timeout=30;
204204
```
205205

206206
7. Save the **sqlFunction.cs** file.
@@ -277,7 +277,7 @@ You can set modules on a device through the IoT Hub, but you can also access you
277277

278278
When you apply the deployment manifest to your device, you get three modules running. The SimulatedTemperatureSensor module generates simulated environment data. The sqlFunction module takes the data and formats it for a database. This section guides you through setting up the SQL database to store the temperature data.
279279

280-
Run the following commands on your IoT Edge device. These commands connect to the **sql** module running on your device and create a database and table to hold the temperature data being sent to it.
280+
Run the following commands on your IoT Edge device. These commands connect to the **sql** module running on your device and create a database and table to hold the temperature data being sent to it. Replace \<YOUR-STRONG-PASSWORD\> with the strong password you chose in your connection string.
281281

282282
1. In a command-line tool on your IoT Edge device, connect to your database.
283283

@@ -288,7 +288,7 @@ Run the following commands on your IoT Edge device. These commands connect to th
288288
2. Open the SQL command tool.
289289

290290
```bash
291-
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'Strong!Passw0rd'
291+
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P '<YOUR-STRONG-PASSWORD>'
292292
```
293293

294294
3. Create your database:

0 commit comments

Comments
 (0)