How to change the default database when using StandaloneServer #6614
Unanswered
CalvinKirs
asked this question in
Q&A
Replies: 1 comment
-
But what if want to use mysql/postgresql in development env? I find out when I stop standalone server, all metadata in H2 will be gone. And I have to recreate them by myself. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The embedded H2 database used by StandaloneServer by default is mainly for developers to debug easily and users can quickly experience it.
If you need to change the default database, you need to modify the source code, (usually we do not recommend this, maybe at this time you are more suitable to use the stand-alone deployment)
Find org.apache.dolphinscheduler.server.StandaloneServer, and then comment out this line of code
Then configure database-related information in datasource.properties.
Beta Was this translation helpful? Give feedback.
All reactions