-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improve] Add h2 dialect usage documentation #389
base: dev
Are you sure you want to change the base?
Conversation
i18n/zh-CN/docusaurus-plugin-content-docs/current/get-started/3.dockerDeployment.md
Outdated
Show resolved
Hide resolved
You didn't explain what h2 can configure. Do these configurations need a simple parameter list? Otherwise, I don't think it makes much sense to add them. |
Thanks for your contribution, but this document is indeed incomplete. It should clearly explain to users the purpose of h2, how to configure the data-dir/ username and password, and how to access the h2 management page... |
Thx for review,I'll modify them |
Ok. 😄 |
PTAL @caicancai @wolfboys |
I tried to develop on Windows and Mac. I think it is not very friendly to Windows. I suggest to explain it first. This function is currently best developed on Linux and Mac. |
I don't quite understand what you mean. Could you explain how I should modify the documentation? Specifically, what adjustments are needed to make this feature more friendly on Windows, or should I explicitly mention the limitations on Windows in the documentation? Thank you! |
|
|
||
用户名和密码: 默认的用户名为 admin,密码为 streampark | ||
|
||
同时下方也可以配置Mysql、Pgsql进行持久化 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同时下方也可以配置Mysql、Pgsql进行持久化 | |
同时下方也可以配置 MySQL、PgSQL 进行持久化 |
|
||
Username and password: The default username is admin, the password is streampark | ||
|
||
Below, you can configure Mysql or Pgsql for persistence. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Below, you can configure Mysql or Pgsql for persistence. | |
Below, you can configure MySQL or PgSQL for persistence. |
Thanks @VampireAchao for the contribution & @caicancai @wolfboys for the review. eg.
|
|
||
H2 是一个体积小、性能高、易于嵌入 Java 应用程序的轻量级嵌入式关系型数据库。与 MySQL 有着相似的语法,并且支持数据持久化。StreamPark 默认使用 H2 数据库,使开发者能够快速开始项目 | ||
|
||
为了实现数据的持久化存储,您可以配置 datasource.h2-data-dir 参数来指定数据文件的存储路径。这确保了即便重启服务,数据也不会丢失 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
从 2.1.5 开始,StreamPark 支持了 h2 数据文件的本地持久化(系统重启后,数据不丢失), 您可以配置....
#388