提交 f2d38e9e 编写于 作者: S Serge Rider 提交者: GitHub

Merge pull request #10152 from dbeaver/mysql-credentials

#9983 Not null password fix

Former-commit-id: 0d3bf8a3
......@@ -61,7 +61,9 @@ public abstract class MySQLNativeToolHandler<SETTINGS extends AbstractNativeTool
toolUserPassword = settings.getDataSourceContainer().getActualConnectionConfiguration().getUserPassword();
}
process.environment().put(MySQLConstants.ENV_VAR_MYSQL_PWD, toolUserPassword);
if (CommonUtils.isNotEmpty(toolUserPassword)) {
process.environment().put(MySQLConstants.ENV_VAR_MYSQL_PWD, toolUserPassword);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册