This is an automated email from the ASF dual-hosted git repository.
xiaoyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git
The following commit(s) were added to refs/heads/main by this push:
new be9a624 [BUG] In the deployment document,the description of using
Mysql to store data lack of 'mysql-connector.jar' (#450)
be9a624 is described below
commit be9a624ca6061c89f89066825c53caab76cd2dd9
Author: haibo.duan <[email protected]>
AuthorDate: Wed Feb 9 22:20:52 2022 +0800
[BUG] In the deployment document,the description of using Mysql to store
data lack of 'mysql-connector.jar' (#450)
---
docs/deployment/deployment-docker.md | 2 +-
docs/deployment/deployment-k8s.md | 2 +-
docs/deployment/deployment-local.md | 2 +-
docs/deployment/deployment-package.md | 2 +-
versioned_docs/version-2.4.0/deployment/deployment-docker.md | 2 +-
versioned_docs/version-2.4.0/deployment/deployment-k8s.md | 2 +-
versioned_docs/version-2.4.0/deployment/deployment-local.md | 2 +-
versioned_docs/version-2.4.0/deployment/deployment-package.md | 2 +-
versioned_docs/version-2.4.1/deployment/deployment-docker.md | 2 +-
versioned_docs/version-2.4.1/deployment/deployment-k8s.md | 2 +-
versioned_docs/version-2.4.1/deployment/deployment-local.md | 4 ++--
versioned_docs/version-2.4.1/deployment/deployment-package.md | 2 +-
versioned_docs/version-2.4.2/deployment/deployment-docker.md | 2 +-
versioned_docs/version-2.4.2/deployment/deployment-k8s.md | 2 +-
versioned_docs/version-2.4.2/deployment/deployment-local.md | 2 +-
versioned_docs/version-2.4.2/deployment/deployment-package.md | 2 +-
16 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/docs/deployment/deployment-docker.md
b/docs/deployment/deployment-docker.md
index c254da3..f5f07be 100644
--- a/docs/deployment/deployment-docker.md
+++ b/docs/deployment/deployment-docker.md
@@ -20,7 +20,7 @@ This article introduces the use of `docker` to deploy the
`Apache ShenYu` gatewa
> docker run -d -p 9095:9095 --net shenyu
> apache/shenyu-admin:${current.version}
```
-* use `MySQL` to store data, copy `mysql-connector.jar` to
`/$(your_work_dir)/ext-lib`:
+* use `MySQL` to store data, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to `/$(your_work_dir)/ext-lib`:
```
docker run -v /${your_work_dir}/ext-lib:/opt/shenyu-admin/ext-lib -e
"SPRING_PROFILES_ACTIVE=mysql" -e
"spring.datasource.url=jdbc:mysql://${your_ip_port}/shenyu?useUnicode=true&characterEncoding=utf-8&useSSL=false"
-e "spring.datasource.username=${your_username}" -e
"spring.datasource.password=${your_password}" -d -p 9095:9095 --net shenyu
apache/shenyu-admin:${current.version}
diff --git a/docs/deployment/deployment-k8s.md
b/docs/deployment/deployment-k8s.md
index 05c83ab..50d4b5b 100644
--- a/docs/deployment/deployment-k8s.md
+++ b/docs/deployment/deployment-k8s.md
@@ -19,7 +19,7 @@ This article introduces the use of `k8s` to deploy the
`Apache ShenYu` gateway.
>
> Similar to the h2 process, there are two points to note
>
-> 1. you need to load mysql-connector.jar, so you need a place to store the
file
+> 1. you need to load
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar),
so you need a place to store the file
> 2. you need to specify an external mysql database configuration to proxy the
> external mysql database via endpoint
>
> The process is as follows.
diff --git a/docs/deployment/deployment-local.md
b/docs/deployment/deployment-local.md
index 44adf8d..c68cd83 100644
--- a/docs/deployment/deployment-local.md
+++ b/docs/deployment/deployment-local.md
@@ -28,7 +28,7 @@ This article introduces how to start the `Apache ShenYu`
gateway in the local en
* If you use `h2` to store, set the variable `--spring.profiles.active = h2`.
- * If you use `MySQL` for storage, modify the `mysql` configuration in
`application.yaml`.
+ * If you use `MySQL` for storage, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to /$(your_work_dir)/ext-lib, and modify the `mysql` configuration in
`application.yaml`.
* If you use `PostgreSql` for storage, modify the `pg` of
`spring.profiles.active` configuration in `application.yaml`.
diff --git a/docs/deployment/deployment-package.md
b/docs/deployment/deployment-package.md
index 488e877..e5a170c 100644
--- a/docs/deployment/deployment-package.md
+++ b/docs/deployment/deployment-package.md
@@ -22,7 +22,7 @@ This article introduces the deployment of the `Apache ShenYu`
gateway using the
> linux: ./start.sh --spring.profiles.active = h2
```
-* use `MySQL` to store data, go to the `/conf` directory, and modify the
configuration of `mysql` in `application.yaml`.
+* use `MySQL` to store data, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to /$(your_work_dir)/ext-lib, go to the `/conf` directory, and modify the
configuration of `mysql` in `application.yaml`.
```
> windows: start.bat
diff --git a/versioned_docs/version-2.4.0/deployment/deployment-docker.md
b/versioned_docs/version-2.4.0/deployment/deployment-docker.md
index 0010abe..86b8dca 100644
--- a/versioned_docs/version-2.4.0/deployment/deployment-docker.md
+++ b/versioned_docs/version-2.4.0/deployment/deployment-docker.md
@@ -20,7 +20,7 @@ This article introduces the use of `docker` to deploy the
`Apache ShenYu` gatewa
> docker run -d -p 9095:9095 --net shenyu apache/shenyu-admin:2.4.0
```
-* use `MySQL` to store data, copy `mysql-connector.jar` to
`/$(your_work_dir)/ext-lib`:
+* use `MySQL` to store data, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to `/$(your_work_dir)/ext-lib`:
```
docker run -v /${your_work_dir}/ext-lib:/opt/shenyu-admin/ext-lib -e
"SPRING_PROFILES_ACTIVE=mysql" -e
"spring.datasource.url=jdbc:mysql://${your_ip_port}/shenyu?useUnicode=true&characterEncoding=utf-8&useSSL=false"
-e "spring.datasource.username=${your_username}" -e
"spring.datasource.password=${your_password}" -d -p 9095:9095 --net shenyu
apache/shenyu-admin:2.4.0
diff --git a/versioned_docs/version-2.4.0/deployment/deployment-k8s.md
b/versioned_docs/version-2.4.0/deployment/deployment-k8s.md
index 7905183..0bbe0a8 100644
--- a/versioned_docs/version-2.4.0/deployment/deployment-k8s.md
+++ b/versioned_docs/version-2.4.0/deployment/deployment-k8s.md
@@ -19,7 +19,7 @@ This article introduces the use of `k8s` to deploy the
`Apache ShenYu` gateway.
>
> Similar to the h2 process, there are two points to note
>
-> 1. you need to load mysql-connector.jar, so you need a place to store the
file
+> 1. you need to load
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar),
so you need a place to store the file
> 2. you need to specify an external mysql database configuration to proxy the
> external mysql database via endpoint
>
> The process is as follows.
diff --git a/versioned_docs/version-2.4.0/deployment/deployment-local.md
b/versioned_docs/version-2.4.0/deployment/deployment-local.md
index 542261b..c712e6b 100644
--- a/versioned_docs/version-2.4.0/deployment/deployment-local.md
+++ b/versioned_docs/version-2.4.0/deployment/deployment-local.md
@@ -28,7 +28,7 @@ This article introduces how to start the `Apache ShenYu`
gateway in the local en
* If you use `h2` to store, set the variable `--spring.profiles.active = h2`.
- * If you use `MySQL` for storage, modify the `mysql` configuration in
`application.yaml`.
+* If you use `MySQL` for storage, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to /$(your_work_dir)/ext-lib, and modify the `mysql` configuration in
`application.yaml`.
* use the development tool to start
`org.apache.shenyu.bootstrap.ShenyuBootstrapApplication`.
diff --git a/versioned_docs/version-2.4.0/deployment/deployment-package.md
b/versioned_docs/version-2.4.0/deployment/deployment-package.md
index d9ff76c..54b5190 100644
--- a/versioned_docs/version-2.4.0/deployment/deployment-package.md
+++ b/versioned_docs/version-2.4.0/deployment/deployment-package.md
@@ -22,7 +22,7 @@ This article introduces the deployment of the `Apache ShenYu`
gateway using the
> linux: ./start.sh --spring.profiles.active = h2
```
-* use `MySQL` to store data, go to the `/conf` directory, and modify the
configuration of `mysql` in `application.yaml`.
+* use `MySQL` to store data, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to /$(your_work_dir)/ext-lib, go to the `/conf` directory, and modify the
configuration of `mysql` in `application.yaml`.
```
> windows: start.bat
diff --git a/versioned_docs/version-2.4.1/deployment/deployment-docker.md
b/versioned_docs/version-2.4.1/deployment/deployment-docker.md
index 22f7b61..2eb3789 100644
--- a/versioned_docs/version-2.4.1/deployment/deployment-docker.md
+++ b/versioned_docs/version-2.4.1/deployment/deployment-docker.md
@@ -20,7 +20,7 @@ This article introduces the use of `docker` to deploy the
`Apache ShenYu` gatewa
> docker run -d -p 9095:9095 --net shenyu apache/shenyu-admin:2.4.1
```
-* use `MySQL` to store data, copy `mysql-connector.jar` to
`/$(your_work_dir)/ext-lib`:
+* use `MySQL` to store data, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to `/$(your_work_dir)/ext-lib`:
```
docker run -v /${your_work_dir}/ext-lib:/opt/shenyu-admin/ext-lib -e
"SPRING_PROFILES_ACTIVE=mysql" -e
"spring.datasource.url=jdbc:mysql://${your_ip_port}/shenyu?useUnicode=true&characterEncoding=utf-8&useSSL=false"
-e "spring.datasource.username=${your_username}" -e
"spring.datasource.password=${your_password}" -d -p 9095:9095 --net shenyu
apache/shenyu-admin:2.4.1
diff --git a/versioned_docs/version-2.4.1/deployment/deployment-k8s.md
b/versioned_docs/version-2.4.1/deployment/deployment-k8s.md
index fb79f85..247677f 100644
--- a/versioned_docs/version-2.4.1/deployment/deployment-k8s.md
+++ b/versioned_docs/version-2.4.1/deployment/deployment-k8s.md
@@ -19,7 +19,7 @@ This article introduces the use of `k8s` to deploy the
`Apache ShenYu` gateway.
>
> Similar to the h2 process, there are two points to note
>
-> 1. you need to load mysql-connector.jar, so you need a place to store the
file
+> 1. you need to load
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar),
so you need a place to store the file
> 2. you need to specify an external mysql database configuration to proxy the
> external mysql database via endpoint
>
> The process is as follows.
diff --git a/versioned_docs/version-2.4.1/deployment/deployment-local.md
b/versioned_docs/version-2.4.1/deployment/deployment-local.md
index 38fd532..c68cd83 100644
--- a/versioned_docs/version-2.4.1/deployment/deployment-local.md
+++ b/versioned_docs/version-2.4.1/deployment/deployment-local.md
@@ -28,8 +28,8 @@ This article introduces how to start the `Apache ShenYu`
gateway in the local en
* If you use `h2` to store, set the variable `--spring.profiles.active = h2`.
- * If you use `MySQL` for storage, modify the `mysql` configuration in
`application.yaml`.
-
+ * If you use `MySQL` for storage, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to /$(your_work_dir)/ext-lib, and modify the `mysql` configuration in
`application.yaml`.
+
* If you use `PostgreSql` for storage, modify the `pg` of
`spring.profiles.active` configuration in `application.yaml`.
* use the development tool to start
`org.apache.shenyu.bootstrap.ShenyuBootstrapApplication`.
diff --git a/versioned_docs/version-2.4.1/deployment/deployment-package.md
b/versioned_docs/version-2.4.1/deployment/deployment-package.md
index ed9ef45..86da3f8 100644
--- a/versioned_docs/version-2.4.1/deployment/deployment-package.md
+++ b/versioned_docs/version-2.4.1/deployment/deployment-package.md
@@ -22,7 +22,7 @@ This article introduces the deployment of the `Apache ShenYu`
gateway using the
> linux: ./start.sh --spring.profiles.active = h2
```
-* use `MySQL` to store data, go to the `/conf` directory, and modify the
configuration of `mysql` in `application.yaml`.
+* use `MySQL` to store data, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to /$(your_work_dir)/ext-lib, go to the `/conf` directory, and modify the
configuration of `mysql` in `application.yaml`.
```
> windows: start.bat
diff --git a/versioned_docs/version-2.4.2/deployment/deployment-docker.md
b/versioned_docs/version-2.4.2/deployment/deployment-docker.md
index 61fa094..e2e57cf 100644
--- a/versioned_docs/version-2.4.2/deployment/deployment-docker.md
+++ b/versioned_docs/version-2.4.2/deployment/deployment-docker.md
@@ -20,7 +20,7 @@ This article introduces the use of `docker` to deploy the
`Apache ShenYu` gatewa
> docker run -d -p 9095:9095 --net shenyu apache/shenyu-admin:2.4.2
```
-* use `MySQL` to store data, copy `mysql-connector.jar` to
`/$(your_work_dir)/ext-lib`:
+* use `MySQL` to store data, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to `/$(your_work_dir)/ext-lib`:
```
docker run -v /${your_work_dir}/ext-lib:/opt/shenyu-admin/ext-lib -e
"SPRING_PROFILES_ACTIVE=mysql" -e
"spring.datasource.url=jdbc:mysql://${your_ip_port}/shenyu?useUnicode=true&characterEncoding=utf-8&useSSL=false"
-e "spring.datasource.username=${your_username}" -e
"spring.datasource.password=${your_password}" -d -p 9095:9095 --net shenyu
apache/shenyu-admin:2.4.2
diff --git a/versioned_docs/version-2.4.2/deployment/deployment-k8s.md
b/versioned_docs/version-2.4.2/deployment/deployment-k8s.md
index 7621c21..005d0d5 100644
--- a/versioned_docs/version-2.4.2/deployment/deployment-k8s.md
+++ b/versioned_docs/version-2.4.2/deployment/deployment-k8s.md
@@ -19,7 +19,7 @@ This article introduces the use of `k8s` to deploy the
`Apache ShenYu` gateway.
>
> Similar to the h2 process, there are two points to note
>
-> 1. you need to load mysql-connector.jar, so you need a place to store the
file
+> 1. you need to load
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar),
so you need a place to store the file
> 2. you need to specify an external mysql database configuration to proxy the
> external mysql database via endpoint
>
> The process is as follows.
diff --git a/versioned_docs/version-2.4.2/deployment/deployment-local.md
b/versioned_docs/version-2.4.2/deployment/deployment-local.md
index 44adf8d..c68cd83 100644
--- a/versioned_docs/version-2.4.2/deployment/deployment-local.md
+++ b/versioned_docs/version-2.4.2/deployment/deployment-local.md
@@ -28,7 +28,7 @@ This article introduces how to start the `Apache ShenYu`
gateway in the local en
* If you use `h2` to store, set the variable `--spring.profiles.active = h2`.
- * If you use `MySQL` for storage, modify the `mysql` configuration in
`application.yaml`.
+ * If you use `MySQL` for storage, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to /$(your_work_dir)/ext-lib, and modify the `mysql` configuration in
`application.yaml`.
* If you use `PostgreSql` for storage, modify the `pg` of
`spring.profiles.active` configuration in `application.yaml`.
diff --git a/versioned_docs/version-2.4.2/deployment/deployment-package.md
b/versioned_docs/version-2.4.2/deployment/deployment-package.md
index a8e13f7..1dc3180 100644
--- a/versioned_docs/version-2.4.2/deployment/deployment-package.md
+++ b/versioned_docs/version-2.4.2/deployment/deployment-package.md
@@ -22,7 +22,7 @@ This article introduces the deployment of the `Apache ShenYu`
gateway using the
> linux: ./start.sh --spring.profiles.active = h2
```
-* use `MySQL` to store data, go to the `/conf` directory, and modify the
configuration of `mysql` in `application.yaml`.
+* use `MySQL` to store data, copy
[mysql-connector.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.18/mysql-connector-java-8.0.18.jar)
to /$(your_work_dir)/ext-lib, go to the `/conf` directory, and modify the
configuration of `mysql` in `application.yaml`.
```
> windows: start.bat