File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1218,11 +1218,11 @@ In order to use it, I added the `p:dataTable` tag in index.xtml.
12181218 az webapp config appsettings set \
12191219 --resource-group WebApp \
12201220 --name yoshiowebapp \
1221- --settings JDBC_URL="jdbc:mysql:// my-mysqlserver.mysql.database.azure.com:3306/world?
1222- useSSL=true&requireSSL=false&serverTimezone=JST"
1221+ --settings JDBC_URL="jdbc:mysql:// my-mysqlserver.mysql.database.azure.com:3306/world?useSSL=true&requireSSL=false&serverTimezone=JST"
12231222```
12241223
12251224```azurecli
1225+ # user should be string like: azureuser@my-mysqlserver
12261226 az webapp config appsettings set \
12271227 --resource-group WebApp \
12281228 --name yoshiowebapp \
@@ -1236,6 +1236,32 @@ In order to use it, I added the `p:dataTable` tag in index.xtml.
12361236 --settings DB_PASSWORD="PASSWORD"
12371237```
12381238
1239+ ```azurecli
1240+ $ az webapp config appsettings list --name azure-javaweb-app-1709538913002 -g MicroProfile
1241+ [
1242+ {
1243+ " name" : " JDBC_DRIVER" ,
1244+ " slotSetting" : false ,
1245+ " value" : " com.mysql.cj.jdbc.Driver"
1246+ },
1247+ {
1248+ " name" : " JDBC_URL" ,
1249+ " slotSetting" : false ,
1250+ " value" : " jdbc:mysql://my-mysqlserver.mysql.database.azure.com:3306/world?useSSL=true&requireSSL=false&serverTimezone=JST"
1251+ },
1252+ {
1253+ " name" : " DB_USER" ,
1254+ " slotSetting" : false ,
1255+ " value" : " azureuser@my-mysqlserver"
1256+ },
1257+ {
1258+ " name" : " DB_PASSWORD" ,
1259+ " slotSetting" : false ,
1260+ " value" : " mypassword"
1261+ }
1262+ ]
1263+ ```
1264+
12391265### Configure in the persistence. xml
12401266
12411267```xml
You can’t perform that action at this time.
0 commit comments