Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

2.5.0beta用standalone模式启动,默认使用的是mysql数据库吗,能否使用derby数据库。 #13003

Closed
WhaleFall1234 opened this issue Dec 31, 2024 · 6 comments
Milestone

Comments

@WhaleFall1234
Copy link

standalone模式启动,报 [db-load-error]load jdbc.properties error。 直接从git上下的2.5.0 beta的包,没改配置文件。
c1ad71c52f11d6c24a0975cd36defc1

@MatthewAden
Copy link
Contributor

默认用的就是 derby 数据库

@WhaleFall1234
Copy link
Author

默认用的就是 derby 数据库

对,之前也一直是这样的,但是我从git上下的2.5.0 beta的包,就只是把startup.cmd里的set MODE="cluster"修改为set MODE="standalone"。 我看2.4.3的包这样修改后启动也是没问题的,但是2.5.0就一直报上面的错误,我看到报错后面还有mysql连接的报错,是还有哪里需要修改吗

@misakacoder
Copy link
Contributor

先在配置文件加一行配置吧
spring.sql.init.platform=derby

@WhaleFall1234
Copy link
Author

先在配置文件加一行配置吧 spring.sql.init.platform=derby

ok,可以了,非常感谢

@WhaleFall1234
Copy link
Author

配置文件添加spring.sql.init.platform=derby即可

@Dario-s-j
Copy link

Dario-s-j commented Jan 3, 2025 via email

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

No branches or pull requests

5 participants