@@ -118,6 +118,15 @@ Reference the connection details and sample code in following tables, according
118
118
| ` AZURE_MYSQL_USERNAME ` | Database username | ` <MySQL-DB-username>@<MySQL-DB-name> ` |
119
119
| ` AZURE_MYSQL_SSLMODE ` | SSL option | ` required ` |
120
120
121
+ #### [ Other] ( #tab/none )
122
+ | Default environment variable name | Description | Example value |
123
+ | --------------------------------- | ----------------- | -------------------------------------------- |
124
+ | ` AZURE_MYSQL_HOST ` | Database host URL | ` <MySQL-DB-name>.mysql.database.azure.com ` |
125
+ | ` AZURE_MYSQL_USERNAME ` | Database username | ` MySQL-DB-username ` |
126
+ | ` AZURE_MYSQL_DATABASE ` | Database name | ` <database-name> ` |
127
+ | ` AZURE_MYSQL_PORT ` | Port number | ` 3306 ` |
128
+ | ` AZURE_MYSQL_SSL ` | SSL option | ` true ` |
129
+
121
130
---
122
131
123
132
#### Sample code
@@ -208,6 +217,16 @@ Refer to the steps and code below to connect to Azure Database for MySQL using a
208
217
| ` AZURE_MYSQL_SSLMODE ` | SSL option | ` required ` |
209
218
| ` AZURE_MYSQL_CLIENTID ` | Your client ID | ` <identity-client-ID> ` |
210
219
220
+ #### [ Other] ( #tab/none )
221
+ | Default environment variable name | Description | Example value |
222
+ | --------------------------------- | ----------------- | -------------------------------------------- |
223
+ | ` AZURE_MYSQL_HOST ` | Database host URL | ` <MySQL-DB-name>.mysql.database.azure.com ` |
224
+ | ` AZURE_MYSQL_USERNAME ` | Database username | ` MySQL-DB-username ` |
225
+ | ` AZURE_MYSQL_DATABASE ` | Database name | ` <database-name> ` |
226
+ | ` AZURE_MYSQL_PORT ` | Port number | ` 3306 ` |
227
+ | ` AZURE_MYSQL_SSL ` | SSL option | ` true ` |
228
+ | ` AZURE_MYSQL_CLIENTID ` | Your client ID | ` <identity-client-ID> ` |
229
+
211
230
---
212
231
213
232
#### Sample code
@@ -295,6 +314,16 @@ After created a `springboot` client type connection, Service Connector service w
295
314
| ` AZURE_MYSQL_PASSWORD ` | Database password | ` <MySQL-DB-password> ` |
296
315
| ` AZURE_MYSQL_SSLMODE ` | SSL option | ` required ` |
297
316
317
+ #### [ Other] ( #tab/none )
318
+ | Default environment variable name | Description | Example value |
319
+ | --------------------------------- | ----------------- | -------------------------------------------- |
320
+ | ` AZURE_MYSQL_HOST ` | Database host URL | ` <MySQL-DB-name>.mysql.database.azure.com ` |
321
+ | ` AZURE_MYSQL_USERNAME ` | Database username | ` MySQL-DB-username ` |
322
+ | ` AZURE_MYSQL_PASSWORD ` | Database password | ` MySQL-DB-password ` |
323
+ | ` AZURE_MYSQL_DATABASE ` | Database name | ` <database-name> ` |
324
+ | ` AZURE_MYSQL_PORT ` | Port number | ` 3306 ` |
325
+ | ` AZURE_MYSQL_SSL ` | SSL option | ` true ` |
326
+
298
327
---
299
328
300
329
#### Sample code
@@ -350,7 +379,7 @@ Refer to the steps and code below to connect to Azure Database for MySQL using a
350
379
| --------------------------------- | ------------------ | -------------------------------------------- |
351
380
| ` AZURE_MYSQL_NAME ` | Database name | ` MySQL-DB-name ` |
352
381
| ` AZURE_MYSQL_HOST ` | Database host URL | ` <MySQL-DB-name>.mysql.database.azure.com ` |
353
- | ` AZURE_MYSQL_USER ` | Database username | ` <MySQL-DB-username>@<MySQL-DB-name> ` |
382
+ | ` AZURE_MYSQL_USER ` | Database username | ` <MySQL-DB-username>@<MySQL-DB-name> ` |
354
383
| ` AZURE_MYSQL_CLIENTID ` | Your client ID | ` <client-ID> ` |
355
384
| ` AZURE_MYSQL_CLIENTSECRET ` | Your client secret | ` <client-secret> ` |
356
385
| ` AZURE_MYSQL_TENANTID ` | Your tenant ID | ` <tenant-ID> ` |
@@ -368,10 +397,10 @@ Refer to the steps and code below to connect to Azure Database for MySQL using a
368
397
369
398
| Default environment variable name | Description | Example value |
370
399
| --------------------------------- | ------------------ | -------------------------------------------- |
371
- | ` AZURE_MYSQL_HOST ` | Database host URL | ` <MySQL-DB-name>.mysql.database.azure.com ` |
400
+ | ` AZURE_MYSQL_HOST ` | Database host URL | ` <MySQL-DB-name>.mysql.database.azure.com ` |
372
401
| ` AZURE_MYSQL_USER ` | Database username | ` MySQL-DB-username ` |
373
402
| ` AZURE_MYSQL_DATABASE ` | Database name | ` <database-name> ` |
374
- | ` AZURE_MYSQL_PORT ` | Port number | ` 3306 ` |
403
+ | ` AZURE_MYSQL_PORT ` | Port number | ` 3306 ` |
375
404
| ` AZURE_MYSQL_SSL ` | SSL option | ` true ` |
376
405
| ` AZURE_MYSQL_CLIENTID ` | Your client ID | ` <client-ID> ` |
377
406
| ` AZURE_MYSQL_CLIENTSECRET ` | Your client secret | ` <client-secret> ` |
@@ -402,6 +431,18 @@ Refer to the steps and code below to connect to Azure Database for MySQL using a
402
431
| ` AZURE_MYSQL_CLIENTSECRET ` | Your client secret | ` <client-secret> ` |
403
432
| ` AZURE_MYSQL_TENANTID ` | Your tenant ID | ` <tenant-ID> ` |
404
433
434
+ #### [ Other] ( #tab/none )
435
+ | Default environment variable name | Description | Example value |
436
+ | --------------------------------- | ----------------- | -------------------------------------------- |
437
+ | ` AZURE_MYSQL_HOST ` | Database host URL | ` <MySQL-DB-name>.mysql.database.azure.com ` |
438
+ | ` AZURE_MYSQL_USERNAME ` | Database username | ` MySQL-DB-username ` |
439
+ | ` AZURE_MYSQL_DATABASE ` | Database name | ` <database-name> ` |
440
+ | ` AZURE_MYSQL_PORT ` | Port number | ` 3306 ` |
441
+ | ` AZURE_MYSQL_SSL ` | SSL option | ` true ` |
442
+ | ` AZURE_MYSQL_CLIENTID ` | Your client ID | ` <identity-client-ID> ` |
443
+ | ` AZURE_MYSQL_CLIENTSECRET ` | Your client secret | ` <client-secret> ` |
444
+ | ` AZURE_MYSQL_TENANTID ` | Your tenant ID | ` <tenant-ID> ` |
445
+
405
446
---
406
447
407
448
#### Sample code
0 commit comments