diff --git a/docs/getting-started/install/slots/docker-args.md b/docs/getting-started/install/slots/docker-args.md index 8e91bdb..c506d8d 100644 --- a/docs/getting-started/install/slots/docker-args.md +++ b/docs/getting-started/install/slots/docker-args.md @@ -13,5 +13,11 @@ | ----------- | ---------------------------------------------------------------------------------- | -------------------------- | | PostgreSQL | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql | | MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql | -| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mysql | +| MariaDB | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql | | H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 | + +:::caution +由于 MariaDB 数据库驱动目前存在问题,使用 MariaDB 数据库时也选择使用 MySQL 驱动,即链接地址格式为 `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}`。 + +详情可见: +::: diff --git a/versioned_docs/version-2.14/getting-started/install/slots/docker-args.md b/versioned_docs/version-2.14/getting-started/install/slots/docker-args.md index 8e91bdb..c506d8d 100644 --- a/versioned_docs/version-2.14/getting-started/install/slots/docker-args.md +++ b/versioned_docs/version-2.14/getting-started/install/slots/docker-args.md @@ -13,5 +13,11 @@ | ----------- | ---------------------------------------------------------------------------------- | -------------------------- | | PostgreSQL | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql | | MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql | -| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mysql | +| MariaDB | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql | | H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 | + +:::caution +由于 MariaDB 数据库驱动目前存在问题,使用 MariaDB 数据库时也选择使用 MySQL 驱动,即链接地址格式为 `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}`。 + +详情可见: +:::