Skip to content

Commit 289b754

Browse files
Merge pull request #278462 from SudheeshGH/docs-editor/connect-java-1718644578
Update connect-java.md
2 parents 67e32ad + 1c1487a commit 289b754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Next, create a non-admin user and grant all permissions on the `demo` database t
223223
Create a SQL script called *create_ad_user.sql* for creating a non-admin user. Add the following contents and save it locally:
224224

225225
```bash
226-
export AZ_MYSQL_AD_NON_ADMIN_USERID=$CURRENT_USER_OBJECTID
226+
export AZ_MYSQL_AD_NON_ADMIN_USERID=$(az ad signed-in-user show --query id --output tsv)
227227

228228
cat << EOF > create_ad_user.sql
229229
SET aad_auth_validate_oids_in_tenant = OFF;

0 commit comments

Comments
 (0)