Clarify using of --optimized flag with DBs

Closes #16220
This commit is contained in:
Martin Bartoš 2023-01-03 10:39:27 +01:00 committed by Pedro Igor
parent fb554c09db
commit af3ba49393

View file

@ -40,6 +40,14 @@ This command includes the minimum settings needed to connect to the database.
The default schema is `keycloak`, but you can change it by using the `db-schema` configuration option.
.Warning:
[NOTE]
Do NOT use the `--optimized` flag for the `start` command if you want to use a particular DB (except the H2).
Executing the build phase before starting the server instance is necessary.
You can achieve it either by starting the instance without the `--optimized` flag,
or by executing the `build` command before the optimized start.
For more information, see <@links.server id="configuration"/>.
== Overriding default connection settings
The server uses JDBC as the underlying technology to communicate with the database. If the default connection settings are insufficient, you can specify a JDBC URL using the `db-url` configuration option.