imbajin commented on code in PR #270:
URL:
https://github.com/apache/incubator-hugegraph-doc/pull/270#discussion_r1226203802
##########
content/cn/docs/config/config-guide.md:
##########
@@ -259,46 +259,97 @@ cassandra.password=
### 5 多图配置
-我们的系统是可以存在多个图的,并且各个图的后端可以不一样,比如图 hugegraph 和 hugegraph1,其中 hugegraph 以
cassandra 作为后端,hugegraph1 以 rocksdb作为后端。
+我们的系统是可以存在多个图的,并且各个图的后端可以不一样,比如图 `hugegraph_rocksdb` 和 `hugegraph_mysql`,其中
`hugegraph_rocksdb` 以 `RocksDB` 作为后端,`hugegraph_mysql` 以 `MySQL` 作为后端。
配置方法也很简单:
-**修改 gremlin-server.yaml**
-
-在 gremlin-server.yaml 的 graphs 域中添加一个键值对,键为图的名字,值为图的配置文件路径,比如:
-
-```yaml
-graphs: {
- hugegraph: conf/hugegraph.properties,
- hugegraph1: conf/hugegraph1.properties
-}
-```
-
**修改 rest-server.properties**
-在 rest-server.properties 的 graphs 域中添加一个键值对,键为图的名字,值为图的配置文件路径,比如:
+在 rest-server.properties 的 graphs 域中修改图的配置文件路径(默认路径),比如:
```properties
-graphs=[hugegraph:conf/hugegraph.properties,
hugegraph1:conf/hugegraph1.properties]
+graphs=./conf/graphs
```
-**添加 hugegraph1.properties**
+在 `conf/graphs` 路径下基于 `hugegraph.properties` 修改得到
`hugegraph_mysql_backend.properties` 和 `hugegraph_rocksdb_backend.properties`
Review Comment:
可以 `hugegraph-mysql` 的名字即可, backend 似乎有些冗余, 不过这个还好, 没必要单独修改, 看看其他反馈一起再考虑改
##########
content/cn/docs/quickstart/hugegraph-server.md:
##########
@@ -314,6 +314,45 @@ Connecting to HugeGraphServer
(http://127.0.0.1:8080/graphs)....OK
> 更多其它后端配置可参考[配置项介绍](/docs/config/config-option)
+#### 5.6 MySQL
+
+> 用户需自行安装 MySQL,[下载地址](https://dev.mysql.com/downloads/mysql/)
Review Comment:
这里可加上是因为 GPL 协议的限制
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]