Skip to content

Commit a0ae883

Browse files
committed
update
1 parent 4a93895 commit a0ae883

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

articles/mysql/flexible-server/connect-java.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ Using your favorite IDE, create a new Java project, and add a *pom.xml* file in
309309
</dependency>
310310
<dependency>
311311
<groupId>com.azure</groupId>
312-
<artifactId>azure-identity-providers-jdbc-mysql</artifactId>
313-
<version>1.0.0-beta.1</version>
312+
<artifactId>azure-identity-extensions</artifactId>
313+
<version>1.0.0</version>
314314
</dependency>
315315
</dependencies>
316316
</project>
@@ -361,19 +361,19 @@ Run the following script in the project root directory to create a *src/main/res
361361
mkdir -p src/main/resources && touch src/main/resources/database.properties
362362

363363
cat << EOF > src/main/resources/database.properties
364-
url=jdbc:mysql://${AZ_DATABASE_NAME}.mysql.database.azure.com:3306/demo?sslMode=REQUIRED&serverTimezone=UTC&defaultAuthenticationPlugin=com.azure.identity.providers.mysql.AzureIdentityMysqlAuthenticationPlugin&authenticationPlugins=com.azure.identity.providers.mysql.AzureIdentityMysqlAuthenticationPlugin
364+
url=jdbc:mysql://${AZ_DATABASE_NAME}.mysql.database.azure.com:3306/demo?sslMode=REQUIRED&serverTimezone=UTC&defaultAuthenticationPlugin=com.azure.identity.extensions.jdbc.mysql.AzureMysqlAuthenticationPlugin&authenticationPlugins=com.azure.identity.extensions.jdbc.mysql.AzureMysqlAuthenticationPlugin
365365
user=${AZ_MYSQL_AD_NON_ADMIN_USERNAME}
366366
EOF
367367
```
368368

369369
> [!NOTE]
370-
> If you are using MysqlConnectionPoolDataSource class as the datasource in your application, please remove "defaultAuthenticationPlugin=com.azure.identity.providers.mysql.AzureIdentityMysqlAuthenticationPlugin" in the url.
370+
> If you are using MysqlConnectionPoolDataSource class as the datasource in your application, please remove "defaultAuthenticationPlugin=com.azure.identity.extensions.jdbc.mysql.AzureMysqlAuthenticationPlugin" in the url.
371371
372372
```bash
373373
mkdir -p src/main/resources && touch src/main/resources/database.properties
374374

375375
cat << EOF > src/main/resources/database.properties
376-
url=jdbc:mysql://${AZ_DATABASE_NAME}.mysql.database.azure.com:3306/demo?sslMode=REQUIRED&serverTimezone=UTC&authenticationPlugins=com.azure.identity.providers.mysql.AzureIdentityMysqlAuthenticationPlugin
376+
url=jdbc:mysql://${AZ_DATABASE_NAME}.mysql.database.azure.com:3306/demo?sslMode=REQUIRED&serverTimezone=UTC&authenticationPlugins=com.azure.identity.extensions.jdbc.mysql.AzureMysqlAuthenticationPlugin
377377
user=${AZ_MYSQL_AD_NON_ADMIN_USERNAME}
378378
EOF
379379
```

articles/mysql/single-server/connect-java.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ Using your favorite IDE, create a new Java project using Java 8 or above. Create
304304
</dependency>
305305
<dependency>
306306
<groupId>com.azure</groupId>
307-
<artifactId>azure-identity-providers-jdbc-mysql</artifactId>
308-
<version>1.0.0-beta.1</version>
307+
<artifactId>azure-identity-extensions</artifactId>
308+
<version>1.0.0</version>
309309
</dependency>
310310
</dependencies>
311311
</project>
@@ -353,20 +353,20 @@ Run the following script in the project root directory to create a *src/main/res
353353
mkdir -p src/main/resources && touch src/main/resources/database.properties
354354

355355
cat << EOF > src/main/resources/database.properties
356-
url=jdbc:mysql://${AZ_DATABASE_SERVER_NAME}.mysql.database.azure.com:3306/${AZ_DATABASE_NAME}?sslMode=REQUIRED&serverTimezone=UTC&defaultAuthenticationPlugin=com.azure.identity.providers.mysql.AzureIdentityMysqlAuthenticationPlugin&authenticationPlugins=com.azure.identity.providers.mysql.AzureIdentityMysqlAuthenticationPlugin
356+
url=jdbc:mysql://${AZ_DATABASE_SERVER_NAME}.mysql.database.azure.com:3306/${AZ_DATABASE_NAME}?sslMode=REQUIRED&serverTimezone=UTC&defaultAuthenticationPlugin=com.azure.identity.extensions.jdbc.mysql.AzureMysqlAuthenticationPlugin&authenticationPlugins=com.azure.identity.extensions.jdbc.mysql.AzureMysqlAuthenticationPlugin
357357
user=${AZ_MYSQL_AD_NON_ADMIN_USERNAME}@${AZ_DATABASE_SERVER_NAME}
358358
EOF
359359
```
360360

361361

362362
> [!NOTE]
363-
> If you are using MysqlConnectionPoolDataSource class as the datasource in your application, please remove "defaultAuthenticationPlugin=com.azure.identity.providers.mysql.AzureIdentityMysqlAuthenticationPlugin" in the url.
363+
> If you are using MysqlConnectionPoolDataSource class as the datasource in your application, please remove "defaultAuthenticationPlugin=com.azure.identity.extensions.jdbc.mysql.AzureMysqlAuthenticationPlugin" in the url.
364364
365365
```bash
366366
mkdir -p src/main/resources && touch src/main/resources/database.properties
367367

368368
cat << EOF > src/main/resources/database.properties
369-
url=jdbc:mysql://${AZ_DATABASE_SERVER_NAME}.mysql.database.azure.com:3306/${AZ_DATABASE_NAME}?sslMode=REQUIRED&serverTimezone=UTC&authenticationPlugins=com.azure.identity.providers.mysql.AzureIdentityMysqlAuthenticationPlugin
369+
url=jdbc:mysql://${AZ_DATABASE_SERVER_NAME}.mysql.database.azure.com:3306/${AZ_DATABASE_NAME}?sslMode=REQUIRED&serverTimezone=UTC&authenticationPlugins=com.azure.identity.extensions.jdbc.mysql.AzureMysqlAuthenticationPlugin
370370
user=${AZ_MYSQL_AD_NON_ADMIN_USERNAME}@${AZ_DATABASE_SERVER_NAME}
371371
EOF
372372
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Using your favorite IDE, create a new Java project using Java 8 or above, and ad
285285
</dependency>
286286
<dependency>
287287
<groupId>com.azure</groupId>
288-
<artifactId>azure-identity-providers-jdbc-postgresql</artifactId>
288+
<artifactId>azure-identity-extensions</artifactId>
289289
<version>1.0.0</version>
290290
</dependency>
291291
</dependencies>

articles/postgresql/single-server/connect-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ Using your favorite IDE, create a new Java project using Java 8 or above, and ad
295295
</dependency>
296296
<dependency>
297297
<groupId>com.azure</groupId>
298-
<artifactId>azure-identity-providers-jdbc-postgresql</artifactId>
298+
<artifactId>azure-identity-extensions</artifactId>
299299
<version>1.0.0</version>
300300
</dependency>
301301
</dependencies>

0 commit comments

Comments
 (0)