Skip to content
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

h2升级问题求助 #282

Closed
yuhwb opened this issue Jun 8, 2023 · 2 comments
Closed

h2升级问题求助 #282

yuhwb opened this issue Jun 8, 2023 · 2 comments

Comments

@yuhwb
Copy link

yuhwb commented Jun 8, 2023

webase-front 使用版本1.5.3 数据库h2版本:1.4.200
由于H2有重大漏洞问题,现在需要升级至2.1.214。
在升级过程中 发现数据库不向下兼容,无法读取1.4.x版本数据库持久化的文件,那么是否可以删除原来的数据库持久化文件,重新生成新的数据库文件呢?

@CodingCattwo
Copy link
Contributor

h2数据库升级确实存在旧的数据文件不兼容新版本的问题。如果数据库没有重要数据且可以删除的话,可以删除旧的数据文件后重启。会自动生成新的h2数据库文件

@CodingCattwo
Copy link
Contributor

h2升级后兼容问题,可以参考webase-front中这个issue,WeBankBlockchain/WeBASE-Front#855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants