From 228d058a9d48b0e41368db80149abce0400d4b70 Mon Sep 17 00:00:00 2001 From: BugKing Date: Tue, 30 Apr 2024 15:42:05 +0800 Subject: [PATCH] docs: update r2dbc url for MariaDB (#344) * docs: update r2dbc url for MariaDB * Update Signed-off-by: Ryan Wang --------- Signed-off-by: Ryan Wang Co-authored-by: Ryan Wang --- docs/getting-started/install/slots/docker-args.md | 8 +++++++- .../getting-started/install/slots/docker-args.md | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) 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}`。 + +详情可见: +:::