Skip to content

Commit 3713630

Browse files
Merge pull request #260293 from wchigit/sql-missing-none
Add missing none client type in sample code
2 parents 9ed9842 + e888efc commit 3713630

9 files changed

+169
-24
lines changed

articles/service-connector/how-to-integrate-mysql.md

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,15 @@ Reference the connection details and sample code in following tables, according
118118
| `AZURE_MYSQL_USERNAME` | Database username | `<MySQL-DB-username>@<MySQL-DB-name>` |
119119
| `AZURE_MYSQL_SSLMODE` | SSL option | `required` |
120120

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+
121130
---
122131

123132
#### Sample code
@@ -208,6 +217,16 @@ Refer to the steps and code below to connect to Azure Database for MySQL using a
208217
| `AZURE_MYSQL_SSLMODE` | SSL option | `required` |
209218
| `AZURE_MYSQL_CLIENTID` | Your client ID | `<identity-client-ID>` |
210219

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+
211230
---
212231

213232
#### Sample code
@@ -295,6 +314,16 @@ After created a `springboot` client type connection, Service Connector service w
295314
| `AZURE_MYSQL_PASSWORD` | Database password | `<MySQL-DB-password>` |
296315
| `AZURE_MYSQL_SSLMODE` | SSL option | `required` |
297316

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+
298327
---
299328

300329
#### Sample code
@@ -350,7 +379,7 @@ Refer to the steps and code below to connect to Azure Database for MySQL using a
350379
| --------------------------------- | ------------------ | -------------------------------------------- |
351380
| `AZURE_MYSQL_NAME` | Database name | `MySQL-DB-name` |
352381
| `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>` |
354383
| `AZURE_MYSQL_CLIENTID` | Your client ID | `<client-ID>` |
355384
| `AZURE_MYSQL_CLIENTSECRET` | Your client secret | `<client-secret>` |
356385
| `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
368397

369398
| Default environment variable name | Description | Example value |
370399
| --------------------------------- | ------------------ | -------------------------------------------- |
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` |
372401
| `AZURE_MYSQL_USER` | Database username | `MySQL-DB-username` |
373402
| `AZURE_MYSQL_DATABASE` | Database name | `<database-name>` |
374-
| `AZURE_MYSQL_PORT ` | Port number | `3306` |
403+
| `AZURE_MYSQL_PORT` | Port number | `3306` |
375404
| `AZURE_MYSQL_SSL` | SSL option | `true` |
376405
| `AZURE_MYSQL_CLIENTID` | Your client ID | `<client-ID>` |
377406
| `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
402431
| `AZURE_MYSQL_CLIENTSECRET` | Your client secret | `<client-secret>` |
403432
| `AZURE_MYSQL_TENANTID` | Your tenant ID | `<tenant-ID>` |
404433

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+
405446
---
406447

407448
#### Sample code

0 commit comments

Comments
 (0)