-
Notifications
You must be signed in to change notification settings - Fork 326
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
修改数据库连接地址缺少参数 #113
base: main
Are you sure you want to change the base?
修改数据库连接地址缺少参数 #113
Conversation
hadoop835
commented
Dec 7, 2022
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.
LGTM
Honestly I don't think this change is necessary, could you plz explain why these default setting should be written explicitly? |
@joeCarf Do you have a good solution to this problem??? |
Which approach are you using, are you debugging cn in your IDE or compile source code ? |
And what version is your Mysql? @hadoop835 |
https://github.com/ApsaraDB/galaxyengine 分支main,编译的 |
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.
After discussion, i think maybe this failure is caused by local environment, since cn can still start normally without metaDbProp.
However, metaDbProp is still necessary because others may wanna change link properties. That's why i approve this pr
@@ -165,6 +165,7 @@ private static void initUserAccount(SystemConfig config) throws SQLException, IO | |||
|
|||
String metaDatabase = config.getMetaDbName(); | |||
String innerUser = config.getMetaDbUser(); | |||
String metaDbProp = config.getMetaDbProp(); |
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.
89ea352
to
ba432af
Compare